|
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.RuntimeCondition
Runtime condition. The condition is fulfilled in case of (currentTime - startTime > interval). The interval is specified with the constructor.
Field Summary | |
protected long |
breakValue
Time in milliseconds, that must be exceeded for termination. |
Constructor Summary | |
RuntimeCondition()
Constructor. |
|
RuntimeCondition(int seconds)
Constructor with runtime in seconds. |
|
RuntimeCondition(long milliSeconds)
Constructor with runtime in milliseconds. |
Method Summary | |
boolean |
isTrue(IIndividualSet set)
Test of condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long breakValue
Constructor Detail |
public RuntimeCondition()
public RuntimeCondition(int seconds)
seconds
- runtime in secondspublic RuntimeCondition(long milliSeconds)
milliSeconds
- runtime in millisecondsMethod Detail |
public boolean isTrue(IIndividualSet set)
isTrue
in interface ICondition
set
- individual set
|
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 |