public abstract class IterateMediatorCentral extends ProblemMediatorCentral implements IterateMediatorDef
Modifier and Type | Field and Description |
---|---|
protected boolean |
resultsBetter
True if the current set of results are better than the previous set
|
dataHash, serviceNames, solutionHierarc
bestResult, fullTrace, problem, result, solutionOrder, solutionSet, solutionsNumber, solverType, testEnded
constructorParams, createServices, dataConditions, datasetType, dirPath, externalScript, heuristicOptions, heuristicType, inputVariables, linkSpec, metricType, serverSpec, serviceClasses, serviceJarFiles, servicesNum, serviceType, tokenizer
Constructor and Description |
---|
IterateMediatorCentral(org.licas.PasswordHandler thePasswordHandler)
Create a new instance of IterateProblemMediator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
calcTestEnded(MatchResult solutionSet)
This method checks for conditions that indicate that the test runs
have or should be terminated.
|
boolean |
getResultsBetter()
Return true if the current set of results are better than the previous
set of results.
|
void |
resetValues()
Reset to starting values
|
boolean |
solutionsToProcess()
Return true if this spec still has solutions to process.
|
createStoreData, getProblemsList, getSolutionHierarchy, hasSolutions, readData
addHeuristicOption, clearHeuristicOptions, copyToConfig, getFullTrace, getHeuristicOptions, getHeuristicType, getProblem, getProblemNames, getSolutionSet, getSolutionsNumber, getTestEnded, processResult, resetForNextRun, setDatasetType, setFullTrace, setHeuristicOptions, setHeuristicType, setProblem, setSolutionSet, setSolutionsNumber
getDatasetType, getDirFolder, getTokenizer, parseProblemDataset, setDirFolder, setTokenizer, validateScript, validateVariable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateSolutions
getResultXml, solve
protected boolean resultsBetter
public IterateMediatorCentral(org.licas.PasswordHandler thePasswordHandler)
thePasswordHandler
- for storing passwords.public void resetValues()
resetValues
in class ProblemMediatorCentral
public boolean solutionsToProcess()
solutionsToProcess
in interface IterateMediatorDef
protected void calcTestEnded(MatchResult solutionSet) throws java.lang.Exception
solutionSet
- the last solution set to evaluate.java.lang.Exception
- any error.public boolean getResultsBetter()
getResultsBetter
in interface IterateMediatorDef