public static class DynamicProgramming.StaticVFPlanner extends DynamicProgramming
DynamicProgramming
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.DynamicProgramming.StaticVFPlannerQFunction.QFunctionHelpertransitionDynamics, useCachedTransitions, valueFunction, valueInitializeractions, debugCode, domain, gamma, hashingFactory, mapToStateIndex, rf, tf| Constructor and Description |
|---|
DynamicProgramming.StaticVFPlanner(Domain domain,
RewardFunction rf,
double gamma,
HashableStateFactory hashingFactory,
java.util.List<Action> allActions,
java.util.Map<HashableState,java.lang.Double> srcValueFunction)
Initializes.
|
computeQ, computeQ, DPPInit, getActionsTransitions, getAllStates, getCopyOfValueFunction, getDefaultValue, getQ, getQ, getQs, getValueFunctionInitialization, hasComputedValueFor, initializeOptionsForExpectationComputations, performBellmanUpdateOn, performBellmanUpdateOn, performFixedPolicyBellmanUpdateOn, performFixedPolicyBellmanUpdateOn, resetSolver, setValueFunctionInitialization, toggleUseCachedTransitionDynamics, value, valueaddNonDomainReferencedAction, getActions, getAllGroundedActions, getDebugCode, getDomain, getGamma, getHashingFactory, getRf, getRF, getTf, getTF, setActions, setDebugCode, setDomain, setGamma, setHashingFactory, setRf, setTf, solverInit, stateHash, toggleDebugPrinting, translateActionpublic DynamicProgramming.StaticVFPlanner(Domain domain, RewardFunction rf, double gamma, HashableStateFactory hashingFactory, java.util.List<Action> allActions, java.util.Map<HashableState,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.