MCPcopy Create free account
hub / github.com/Jondolf/Algorust / PathfindingAlgorithm

Class PathfindingAlgorithm

src/pages/pathfinding.rs:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected