| 28 | |
| 29 | #[derive(Clone, Debug, PartialEq, Eq)] |
| 30 | pub struct PathfindingAlgorithm<V: Vertex, E: Edge> { |
| 31 | pub name: String, |
| 32 | find_path: PathfindingFunc<V, E>, |
| 33 | } |
| 34 | impl<V: Vertex, E: Edge> PathfindingAlgorithm<V, E> { |
| 35 | pub fn new(name: &str, find_path: PathfindingFunc<V, E>) -> Self { |
| 36 | Self { |
nothing calls this directly
no outgoing calls
no test coverage detected