de.kumpe.hadooptimizer.impl
Class NeverHalter<I>
java.lang.Object
de.kumpe.hadooptimizer.impl.NeverHalter<I>
- Type Parameters:
I
- the individuals' type
- All Implemented Interfaces:
- Halter<I>, Stoppable, Serializable
public final class NeverHalter<I>
- extends Object
- implements Halter<I>, Stoppable
This Halter
's halt(Collection)
will always return false,
thus never halt.
- Author:
- Christian Kumpe
- See Also:
- Serialized Form
NeverHalter
public NeverHalter()
halt
public boolean halt(Collection<EvaluationResult<I>> evaluationResults)
- Description copied from interface:
Halter
- Decides whether to stop or continue the evolution cycle.
- Specified by:
halt
in interface Halter<I>
- Parameters:
evaluationResults
- the EvaluationResult
s of the parents for the next
generation
- Returns:
true
to stop the evolution cycle, false
to continue
stop
public void stop()
- Description copied from interface:
Stoppable
- Is called once to tell the
Halter
the stop the evoltion cycle at
the end of the current iteration.
- Specified by:
stop
in interface Stoppable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Christian Kumpe. All Rights Reserved.