Trait vrp_core::algorithms::mdp::Agent [−][src]
Represents an agent in MDP.
Required methods
fn get_state(&self) -> &S[src]
Returns the current state of the agent.
fn get_actions(&self, state: &S) -> ActionEstimates<S>[src]
Returns agent’s actions for given state with their estimates. If no actions are associated, then the state is considered as terminal.
fn take_action(&mut self, action: &S::Action)[src]
Takes the action in the current agent’s state. Potentially, changes agent state.