pomdp_py.problems.tag.models.components package

Submodules

pomdp_py.problems.tag.models.components.grid_map module

class pomdp_py.problems.tag.models.components.grid_map.GridMap(width, length, obstacle_poses)[source]

Bases: object

valid_pose(position)[source]
valid_motions(position, all_motions={Action(move - xy - East2D), Action(move - xy - North2D), Action(move - xy - South2D), Action(move - xy - West2D)})[source]
classmethod from_str(worldstr, **kwargs)[source]
free_cells()[source]

pomdp_py.problems.tag.models.components.motion_policy module

class pomdp_py.problems.tag.models.components.motion_policy.TagTargetMotionPolicy(grid_map, pr_stay=0.2)[source]

Bases: GenerativeDistribution

probability(next_target_position, target_position, robot_position, valid_target_motion_actions)[source]
random(robot_position, target_position, valid_target_motion_actions, mpe=False)[source]
mpe(self)[source]

Returns the value of the variable that has the highest probability.

Module contents