public interface IterateMediatorDef
Modifier and Type | Method and Description |
---|---|
boolean |
getResultsBetter()
Return true if the current set of results are better than the previous
set of results.
|
boolean |
solutionsToProcess()
Return true if this spec still has solutions to process.
|
boolean |
updateSolutions(Result result)
This can be used to combine existing solutions to evolve new ones.
|
boolean solutionsToProcess()
boolean updateSolutions(Result result) throws java.lang.Exception
heuristicOptions
object.
If this is empty, then it will create two new types - one through crossover and one
through mutation. If heuristicOptions specifies specific types on evolution, then it
will perform those only. It then tries to space the new solutions around the existing
solutions for the new grid structure.result
- the result generated by the problem solver. Can be more solutions, references, or an error..java.lang.Exception
- any error.boolean getResultsBetter()