|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.stoptest.CompositeStopTest
public class CompositeStopTest
This class implements the interface StopTest. A CompositeStopTest consists of a SimpleStopTest list. To reach this objective an algorithm must reach at least one of these objectives.
Field Summary | |
---|---|
private java.util.List<StopTest> |
stopTests
Condicitions' list of a composite stop test. |
Constructor Summary | |
---|---|
CompositeStopTest()
Creates a new instance of CompositeStopTest |
Method Summary | |
---|---|
void |
addStopTest(StopTest stopTest)
Add a stop test to the list of a composite stop test. |
void |
configure(org.apache.commons.configuration.Configuration conf)
Configure this stop test. |
java.util.List<StopTest> |
getStopTests()
Return the list of stop test that contains this Composite stop test. |
boolean |
isReach(EvolutionaryAlgorithm algorithm)
Test if an algorithm reach the condition represented by this stop test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List<StopTest> stopTests
Constructor Detail |
---|
public CompositeStopTest()
Method Detail |
---|
public void configure(org.apache.commons.configuration.Configuration conf)
configure
in interface Configurable
conf
- Configuration object which contains the configuration values.public java.util.List<StopTest> getStopTests()
public void addStopTest(StopTest stopTest)
stopTest
- A stop test to be added to the stop tests' list.public boolean isReach(EvolutionaryAlgorithm algorithm)
isReach
in interface StopTest
algorithm
- the algorithm wich has to reach the objective
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |