|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneticWedge.gp.StoppingCriterion
geneticWedge.gp.FixedGenerationsStoppingCriterion
public class FixedGenerationsStoppingCriterion
If a FixedGenerationsStoppingCriterion is used, early stopping will not occur.
Constructor Summary | |
---|---|
FixedGenerationsStoppingCriterion(int noOfGenerations)
Default constructor sets the number of generations for which to evolve. |
Method Summary | |
---|---|
boolean |
stopReached(AbstractPopulation pop)
Returns true if the required number of generations of evolution have occurred. |
java.lang.String |
toString()
Returns a String representation of this FixedGenerationsStopping Criterion. |
Methods inherited from class geneticWedge.gp.StoppingCriterion |
---|
stopIfNoDiversity, stopIfNoDiversity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FixedGenerationsStoppingCriterion(int noOfGenerations)
Method Detail |
---|
public boolean stopReached(AbstractPopulation pop)
stopReached
in class StoppingCriterion
public java.lang.String toString()
toString
in class StoppingCriterion
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |