|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.IterationTest
public class IterationTest
This class represents the iteration stop condition. It tests if the colony of ants have reach a specified number of iterations.
Field Summary | |
---|---|
static int |
DEFAULT_MAXIMUM_ITERATIONS
The default number of iterations. |
static java.lang.String |
MAXIMUM_ITERATIONS
The property key under which the maximum iteration value is stored. |
Constructor Summary | |
---|---|
IterationTest()
Creates a new IterationTest instance. |
|
IterationTest(int maximum)
Creates a new IterationTest instance. |
Method Summary | |
---|---|
boolean |
isReached(net.sf.myra.framework.Environment environment)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MAXIMUM_ITERATIONS
public static final int DEFAULT_MAXIMUM_ITERATIONS
Constructor Detail |
---|
public IterationTest()
IterationTest
instance.
public IterationTest(int maximum)
IterationTest
instance.
maximum
- the maximum number of iterations.Method Detail |
---|
public boolean isReached(net.sf.myra.framework.Environment environment)
isReached
in interface net.sf.myra.framework.StopCondition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |