Module movement_costs

Source
Expand description

Helper methods for generating movement cost functions.

Functionsยง

get_lcm_generation_closure_from_terrain_cache
Utility function to create an LCM generation closure from a terrain cache and terrain costs.
get_movement_cost_lcm_from_terrain
movement_costs_from_lcm
Builds a cost function closure that pulls costs from a LocalCostMatrix.
movement_costs_from_lcm_cache
Utility function to create a movement costs closure from an LCM cache.