pub trait Graph<Node, Cost> {
// Required methods
fn neighbors(&self, node: Node, neighbors: &mut Vec<NodeCost<Node, Cost>>);
fn heuristic(&self, node: Node, goal: Node) -> Cost;
}Expand description
Responsible for providing the graph structure for A* search.