aima.probability.decision
Class MDPUtilityFunction<STATE_TYPE>
java.lang.Object
aima.probability.decision.MDPUtilityFunction<STATE_TYPE>
public class MDPUtilityFunction<STATE_TYPE>
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MDPUtilityFunction
public MDPUtilityFunction()
getUtility
public java.lang.Double getUtility(STATE_TYPE state)
setUtility
public void setUtility(STATE_TYPE state,
double utility)
copy
public MDPUtilityFunction<STATE_TYPE> copy()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hasUtilityFor
public boolean hasUtilityFor(STATE_TYPE state)