#include <shortestpath.h>
Public Types | |
typedef Common::List< const Resources::FloorEdge * > | NodeList |
Public Member Functions | |
NodeList | search (const Resources::FloorEdge *start, const Resources::FloorEdge *goal) |
Find the shortest path between two nodes in a graph
This is an implementation of Dijsktra's search algorithm
NodeList Stark::ShortestPath::search | ( | const Resources::FloorEdge * | start, |
const Resources::FloorEdge * | goal | ||
) |
Computes the shortest path between the start and the goal graph nodes