condor-pathfinding-core 0.4.0

Neutral cross-domain pathfinding primitives shared by Condor algorithm crates.
Documentation
  • Coverage
  • 100%
    47 out of 47 items documented1 out of 29 items with examples
  • Size
  • Source code size: 15.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 555.38 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • bnomei/condor
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bnomei

Neutral cross-domain primitives shared by Condor owner crates.

Holds only lane-agnostic types: continuous [Point2] and the search outcome surface in [search]. Domain algorithms, scene geometry, grids, and prepared builders stay in their owner crates. The facade re-exports selected items; consumers should prefer condor over depending on this crate directly unless they are implementing a domain crate.

Shared outcome vocabulary

A valid search can compute either a route or no route; both carry algorithm-defined statistics. Input validation is deliberately separate and remains an outer owner-specific Result::Err.

use condor_core::SearchOutcome;

let outcome = SearchOutcome::<&str, usize>::no_path(4);
assert!(!outcome.is_found());
assert_eq!(outcome.path(), None);
assert_eq!(outcome.stats(), &4);