|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.probability.decision.MDPRewardFunction<STATE_TYPE>
public class MDPRewardFunction<STATE_TYPE>
Constructor Summary | |
---|---|
MDPRewardFunction()
|
Method Summary | |
---|---|
MDPUtilityFunction<STATE_TYPE> |
asUtilityFunction()
|
double |
getRewardFor(STATE_TYPE state)
|
void |
setReward(STATE_TYPE state,
java.lang.Double reward)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MDPRewardFunction()
Method Detail |
---|
public double getRewardFor(STATE_TYPE state)
public void setReward(STATE_TYPE state, java.lang.Double reward)
public java.lang.String toString()
toString
in class java.lang.Object
public MDPUtilityFunction<STATE_TYPE> asUtilityFunction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |