|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.core.terminate.ModuloCondition
Modulo Condition. This condition is fullfilled if a given counter % a given value equals 0.
Field Summary | |
protected int |
counter
Counter used for condition testing. |
protected int |
modulo
Modulo value. |
Constructor Summary | |
ModuloCondition()
Constructor. |
|
ModuloCondition(int value)
Constructor. |
Method Summary | |
int |
getModulo()
Returns the modulo value. |
boolean |
isTrue(IIndividualSet set)
Test of condition. |
void |
setModulo(int value)
Stes the modulo value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int modulo
protected int counter
Constructor Detail |
public ModuloCondition()
public ModuloCondition(int value)
value
- modulo valueMethod Detail |
public boolean isTrue(IIndividualSet set)
isTrue
in interface ICondition
set
- individual set
public int getModulo()
public void setModulo(int value)
value
- modulo value
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |