|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmdp.basic.Solution<S,A>
S
- stateA
- actionpublic class Solution<S extends State,A extends Action>
This class represents the joint information of a value function and a policy which summarizes the solution to a problem
Constructor Summary | |
---|---|
Solution(ValueFunction<S> valueFunction,
Policy<S,A> policy)
Builds a solution given a value funtcion and a policy |
Method Summary | |
---|---|
Policy<S,A> |
getPolicy()
|
ValueFunction<S> |
getValueFunction()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Solution(ValueFunction<S> valueFunction, Policy<S,A> policy)
valueFunction
- value functionpolicy
- policyMethod Detail |
---|
public Policy<S,A> getPolicy()
public ValueFunction<S> getValueFunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |