|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.stoptest.SimpleStopTest
es.udc.gii.common.eaf.stoptest.FEsStopTest
es.udc.gii.common.eaf.stoptest.MaxFEsStopTest
public class MaxFEsStopTest
Concrete simple objective. The problem must complete a number of given function evaluations.
<StopTest>
<Class>es.udc.gii.common.eaf.stoptest.MaxFEsStopTest</Class>
<MaxFEs>value</MaxFEs>
</StopTest>
Field Summary | |
---|---|
private int |
fes
Number of FEs that a problem has to reach. |
Constructor Summary | |
---|---|
MaxFEsStopTest()
Creates a new instance of MaxFEsStopTest |
|
MaxFEsStopTest(int fes)
Create a new instance of MaxFEsStopTest. |
Method Summary | |
---|---|
void |
configure(org.apache.commons.configuration.Configuration conf)
Configure this stop test. |
int |
getFEs()
Returns the maximun nunmber of function evaluations that the algorithm will perform. |
boolean |
isReach(EvolutionaryAlgorithm algorithm)
Returns true if the problem had done the generation's number determined by this concrete objective. |
java.lang.String |
toString()
Returns a String representing this objective. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int fes
Constructor Detail |
---|
public MaxFEsStopTest()
public MaxFEsStopTest(int fes)
fes
- FEs' number that a concrete problem has to reach.Method Detail |
---|
public void configure(org.apache.commons.configuration.Configuration conf)
configure
in interface Configurable
conf
- Configuration object which contains the configuration values.public boolean isReach(EvolutionaryAlgorithm algorithm)
isReach
in interface StopTest
algorithm
- the algorithm wich has to reach the objective
public java.lang.String toString()
toString
in class java.lang.Object
public int getFEs()
getFEs
in class FEsStopTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |