flatland.core.entry_point_distance_map module#
- class flatland.core.entry_point_distance_map.EntryPointDistanceMap(agents: List[EnvAgent], waypoint_init: Callable[[EntryPointT], WaypointT])[source]#
Bases:
Generic[TransitionMapT,DistanceMapT,EntryPointT,WaypointT]Base distance map collecting the distance from every entry point visited during the BFS walk to the effective target entry point reached, keyed by (source_entry_point, target_entry_point) - agnostic of any numeric target_nr (agent handle), which DistanceMapWalker has no notion of.