public class BeliefPolicyAgent extends BeliefAgent
| Modifier and Type | Field and Description |
|---|---|
protected Policy |
policy
The policy that the agent will follow.
|
curBelief, environment, poDomain| Constructor and Description |
|---|
BeliefPolicyAgent(PODomain domain,
Environment environment,
Policy policy)
Initializes.
|
| Modifier and Type | Method and Description |
|---|---|
GroundedAction |
getAction(BeliefState curBelief)
Returns the action the agent should take for the input
BeliefState. |
actUntilTerminal, actUntilTerminalOrMaxSteps, setBeliefState, setEnvironmentprotected 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 GroundedAction getAction(BeliefState curBelief)
BeliefAgentBeliefState.getAction in class BeliefAgentcurBelief - the BeliefState in which the agent must make a decision.GroundedAction specifying the agent's decision for the input BeliefState.