pomdp_py.problems.tag.agent package

Submodules

pomdp_py.problems.tag.agent.agent module

pomdp_py.problems.tag.agent.agent.initialize_belief(grid_map, init_robot_position, prior={})[source]

Initialize belief.

Parameters:
  • grid_map (GridMap) – Holds information of the map occupancy

  • prior (dict) – A map from (x,y)->[0,1]. If empty, the belief will be uniform.

pomdp_py.problems.tag.agent.agent.initialize_particles_belief(grid_map, init_robot_position, num_particles=100, prior={})[source]

Initialize belief.

Parameters:
  • grid_map (GridMap) – Holds information of the map occupancy

  • prior (dict) – A map from (x,y)->[0,1]. If empty, the belief will be uniform.

pomdp_py.problems.tag.agent.agent.belief_update(agent, real_action, real_observation)[source]
class pomdp_py.problems.tag.agent.agent.TagAgent(init_belief, grid_map, pr_stay=0.2, small=1, big=10)[source]

Bases: Agent

clear_history()[source]

Custum function; clear history

Module contents