public static class ValueFunctionPlanner.StaticVFPlanner extends ValueFunctionPlanner
ValueFunctionPlanner
methods. It has no planning method defined and will throw a runtime exception if you try to call it. When you pass it a seed
value function (represented as a Map), it copies the values into its internal stored value function so that
changes to the original value function may be made without affecting this objects values.ValueFunctionPlanner.StaticVFPlannerQComputablePlanner.QComputablePlannerHelpertransitionDynamics, useCachedTransitions, valueFunction, valueInitializeractions, containsParameterizedActions, debugCode, domain, gamma, hashingFactory, mapToStateIndex, rf, tf| Constructor and Description |
|---|
ValueFunctionPlanner.StaticVFPlanner(Domain domain,
RewardFunction rf,
double gamma,
StateHashFactory hashingFactory,
java.util.List<Action> allActions,
java.util.Map<StateHashTuple,java.lang.Double> srcValueFunction)
Initializes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
planFromState(State initialState)
This method will cause the planner to begin planning from the specified initial state
|
computeQ, computeQ, getActionsTransitions, getAllStates, getCopyOfValueFunction, getDefaultValue, getQ, getQ, getQs, getValueFunctionInitialization, hasComputedValueFor, initializeOptionsForExpectationComputations, performBellmanUpdateOn, performBellmanUpdateOn, performFixedPolicyBellmanUpdateOn, performFixedPolicyBellmanUpdateOn, resetPlannerResults, setValueFunctionInitialization, toggleUseCachedTransitionDynamics, value, value, VFPInitaddNonDomainReferencedAction, getActions, getAllGroundedActions, getDebugCode, getDomain, getGamma, getHashingFactory, getRf, getRF, getTf, getTF, plannerInit, setActions, setDebugCode, setDomain, setGamma, setRf, setTf, stateHash, toggleDebugPrinting, translateActionpublic ValueFunctionPlanner.StaticVFPlanner(Domain domain, RewardFunction rf, double gamma, StateHashFactory hashingFactory, java.util.List<Action> allActions, java.util.Map<StateHashTuple,java.lang.Double> srcValueFunction)
domain - the planning domainrf - the reward functiongamma - the discount factorhashingFactory - the state hashing factory used to index statesallActions - the set of actions for computing Q-valuessrcValueFunction - the source value function to copy.public void planFromState(State initialState)
OOMDPPlannerplanFromState in class ValueFunctionPlannerinitialState - the initial state of the planning problem