1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! 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);
//! ```
/// Optional expansion and wall-clock budgets shared by online search lanes.
/// Shared found/no-path outcome vocabulary (stats-bearing, separate from validation `Err`).
pub use ;
pub use ;
/// Continuous 2D point in world / scene coordinates (not grid cells).
///
/// Shared by polygonal free-space, any-angle continuous, and navmesh surfaces.
/// Equality is exact `f64` bit identity; geometry epsilon lives in domain crates.