Skip to main content

Module path

Module path 

Source
Expand description

Discrete path reconstruction and path cost types. Validated discrete path value: ordered cells plus an algorithm-reported cost.

Path is non-empty by construction. Path::from_steps records hop count; Path::from_steps_with_cost lets weighted algorithms preserve true traversal cost. It is the path payload in crate::SearchOutcome, not a map-validating route checker.

Structs§

Path
Non-empty sequence of grid cells with an associated traversal cost.

Enums§

PathBuildError
Path construction failed because the step list was empty or otherwise invalid.