Expand description
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);Re-exports§
pub use budget::BudgetExhausted;pub use budget::BudgetWatch;pub use budget::SearchBudget;pub use search::SearchOutcome;pub use search::SearchPathCost;pub use search::SearchVisitStats;
Modules§
- budget
- Optional expansion and wall-clock budgets shared by online search lanes. Optional wall-clock and expansion budgets for online search requests.
- search
- Shared found/no-path outcome vocabulary (stats-bearing, separate from validation
Err). Shared search outcome shape used across Condor lanes.
Structs§
- Point2
- Continuous 2D point in world / scene coordinates (not grid cells).