com_croftsoft_core/ai/astar/types/
mod.rs

1// =============================================================================
2//! - Types for the A* algorithm
3//!
4//! # Metadata
5//! - Copyright: © 2022 [`CroftSoft Inc`]
6//! - Author: [`David Wallace Croft`]
7//! - Rust version: 2022-11-10
8//! - Rust since: 2022-11-09
9//!
10//! [`CroftSoft Inc`]: https://www.croftsoft.com/
11//! [`David Wallace Croft`]: https://www.croftsoft.com/people/david/
12// =============================================================================
13
14pub type IsSpaceAvailableFunction<N> = fn(&N) -> bool;
15
16pub type MakeNodeFunction<N> = fn(f64, f64) -> N;