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.StaticVFPlanner
QComputablePlanner.QComputablePlannerHelper
transitionDynamics, useCachedTransitions, valueFunction, valueInitializer
actions, 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, VFPInit
addNonDomainReferencedAction, getActions, getAllGroundedActions, getDebugCode, getDomain, getGamma, getHashingFactory, getRf, getRF, getTf, getTF, plannerInit, setActions, setDebugCode, setDomain, setGamma, setRf, setTf, stateHash, toggleDebugPrinting, translateAction
public 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)
OOMDPPlanner
planFromState
in class ValueFunctionPlanner
initialState
- the initial state of the planning problem