Grid-domain owner crate for discrete pathfinding substrate.
This domain crate owns the map model ([Grid]), discrete and any-angle search
contracts ([Pathfinder], [AnyAnglePathfinder]), prepared / preprocessed
multi-query maps, flow fields, hierarchical abstracts, MAPF starter surface,
and incremental replanning traits. Algorithm implementations live under
[algorithms]; root re-exports form the curated consumer surface that the
public facade (condor-for-games / lib condor) mirrors for compatibility.
Not polygonal / navmesh routing — those live in sibling domain crates. This owner crate depends on neutral core contracts, never on the public facade; corpus conformance and capture evidence live in private developer packages.
Choose a grid surface
| Need | Start with |
|---|---|
| One static 4-connected query | [AStar] via [Pathfinder] |
| Straight-line paths through a grid | [AnyAnglePathfinder] implementations |
| Many queries over one static grid | [PreprocessedGridBuilder] or a domain-specific prepared builder |
| Changing costs or blocked cells | [GridReplanner] / [InterpolatedGridReplanner] |
| Multiple agents | [MapfStarterPlanner] |
Example
use ;
let mut grid = new.expect;
grid.set_cell
.expect;
let result = AStar.search.expect;
assert!;