de.jaetzold.util
Class ValueLinkedStateDecider
java.lang.Object
|
+--de.jaetzold.util.LinkedStateDecider
|
+--de.jaetzold.util.ValueLinkedStateDecider
- All Implemented Interfaces:
- StateDecider
- public class ValueLinkedStateDecider
- extends LinkedStateDecider
Method Summary |
double |
nextStateValue(double actualState,
double value)
Return the next state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueLinkedStateDecider
public ValueLinkedStateDecider()
ValueLinkedStateDecider
public ValueLinkedStateDecider(StateDecider first,
StateDecider second)
nextStateValue
public double nextStateValue(double actualState,
double value)
- Description copied from interface:
StateDecider
- Return the next state. The result may depend on the given actualState and the current value but is allowed to depend on anything else. Be sure to have
isCacheable()
return a correct result then.- Following copied from interface:
de.jaetzold.util.StateDecider
- See Also:
StateDecider.isCacheable()