public class BeliefPolicyAgent extends BeliefAgent
Modifier and Type | Field and Description |
---|---|
protected Policy |
policy
The policy that the agent will follow.
|
curBelief, environment, poDomain, updater
Constructor and Description |
---|
BeliefPolicyAgent(PODomain domain,
Environment environment,
Policy policy)
Initializes.
|
Modifier and Type | Method and Description |
---|---|
Action |
getAction(BeliefState curBelief)
Returns the action the agent should take for the input
BeliefState . |
actUntilTerminal, actUntilTerminalOrMaxSteps, getUpdater, setBeliefState, setEnvironment, setUpdater
protected Policy policy
public BeliefPolicyAgent(PODomain domain, Environment environment, Policy policy)
domain
- the POMDP domainenvironment
- the environment with which the agent will interactpolicy
- the policy the agent will follow.public Action getAction(BeliefState curBelief)
BeliefAgent
BeliefState
.getAction
in class BeliefAgent
curBelief
- the BeliefState
in which the agent must make a decision.Action
specifying the agent's decision for the input BeliefState
.