cz.cuni.mff.ksi.jinfer.iss.experiments
Class ExperimentParameters
java.lang.Object
cz.cuni.mff.ksi.jinfer.iss.experiments.ExperimentParameters
public class ExperimentParameters
- extends Object
Class encapsulating all the variable parameters of the experiment.
Constructor Summary |
ExperimentParameters(InputFile file,
int poolSize,
double alpha,
double beta,
ConstructionHeuristic constructionHeuristic,
List<ImprovementHeuristic> improvementHeuristics,
QualityMeasurement measurement,
TerminationCriterion terminationCriterion)
Almost full constructor. |
ExperimentParameters(InputFile file,
int poolSize,
double alpha,
double beta,
Double knownOptimum,
ConstructionHeuristic constructionHeuristic,
List<ImprovementHeuristic> improvementHeuristics,
QualityMeasurement measurement,
TerminationCriterion terminationCriterion)
Full constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExperimentParameters
public ExperimentParameters(InputFile file,
int poolSize,
double alpha,
double beta,
ConstructionHeuristic constructionHeuristic,
List<ImprovementHeuristic> improvementHeuristics,
QualityMeasurement measurement,
TerminationCriterion terminationCriterion)
- Almost full constructor.
- Parameters:
file
- File to run the experiment on.poolSize
- Requested size of the pool from construction heuristic.alpha
- Weight parameter alpha.beta
- Weight parameter beta.constructionHeuristic
- Requested construction heuristic.improvementHeuristics
- List of requested improvement heuristics. They
will be run in a loop until the termination criterion is met.measurement
- Something to measure the quality of the solutions.terminationCriterion
- Termination criterion. Experiment will stop
running as soon as this tells it to.
ExperimentParameters
public ExperimentParameters(InputFile file,
int poolSize,
double alpha,
double beta,
Double knownOptimum,
ConstructionHeuristic constructionHeuristic,
List<ImprovementHeuristic> improvementHeuristics,
QualityMeasurement measurement,
TerminationCriterion terminationCriterion)
- Full constructor.
- Parameters:
file
- File to run the experiment on.poolSize
- Requested size of the pool from construction heuristic.alpha
- Weight parameter alpha.beta
- Weight parameter beta.knownOptimum
- Known optimum or null
if unavailable.constructionHeuristic
- Requested construction heuristic.improvementHeuristics
- List of requested improvement heuristics. They
will be run in a loop until the termination criterion is met.measurement
- Something to measure the quality of the solutions.terminationCriterion
- Termination criterion. Experiment will stop
running as soon as this tells it to.
getFile
public InputFile getFile()
getPoolSize
public int getPoolSize()
getAlpha
public double getAlpha()
getBeta
public double getBeta()
getKnownOptimum
public Double getKnownOptimum()
getConstructionHeuristic
public ConstructionHeuristic getConstructionHeuristic()
getImprovementHeuristics
public List<ImprovementHeuristic> getImprovementHeuristics()
getMeasurement
public QualityMeasurement getMeasurement()
getTerminationCriterion
public TerminationCriterion getTerminationCriterion()
Generated on Fri Dec 9 00:01:25 CET 2011