|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kumpe.hadooptimizer.impl.EvaluationLimitHalter<I>
I
- the individuals' typepublic final class EvaluationLimitHalter<I>
A Halter
halting the evolution process when the evaluation has gone
below a given level.
Constructor Summary | |
---|---|
EvaluationLimitHalter(double limit)
Creates a new EvaluationLimitHalter halting at the given
evaluation value. |
Method Summary | |
---|---|
boolean |
halt(Collection<EvaluationResult<I>> evaluationResults)
Decides whether to stop or continue the evolution cycle. |
void |
stop()
Is called once to tell the Halter the stop the evoltion cycle at
the end of the current iteration. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EvaluationLimitHalter(double limit)
EvaluationLimitHalter
halting at the given
evaluation value.
limit
- the evaluation value to reach before haltingMethod Detail |
---|
public boolean halt(Collection<EvaluationResult<I>> evaluationResults)
Halter
halt
in interface Halter<I>
evaluationResults
- the EvaluationResult
s of the parents for the next
generation
true
to stop the evolution cycle, false
to continuepublic void stop()
Stoppable
Halter
the stop the evoltion cycle at
the end of the current iteration.
stop
in interface Stoppable
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |