|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.ConvergenceTest
public class ConvergenceTest
This class represents the convergence stop condition. It tests if the colony of ants have converged to a single solution over a specified number of iterations.
Field Summary | |
---|---|
static java.lang.String |
CONVERGENCE_TEST_SIZE
The property key under which the convergence test size value is stored. |
static int |
DEFAULT_CONVERGENCE_TEST_SIZE
The default convergence test size. |
Constructor Summary | |
---|---|
ConvergenceTest()
Creates a new ConvergenceTest instance. |
|
ConvergenceTest(int size)
Creates a new ConvergenceTest 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 CONVERGENCE_TEST_SIZE
public static final int DEFAULT_CONVERGENCE_TEST_SIZE
Constructor Detail |
---|
public ConvergenceTest()
ConvergenceTest
instance.
public ConvergenceTest(int size)
ConvergenceTest
instance.
size
- the number of rules used to test the convergence of the ants.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 |