19 virtual const std::vector<IGraphNode*>&
GetNodes()
const = 0;
28 virtual const std::vector< std::vector<float> >
29 GetPath(std::vector<float> src, std::vector<float> dest)
const = 0;
38 virtual const std::string& GetName()
const = 0;
40 virtual const std::vector<IGraphNode*>& GetNeighbors()
const = 0;
42 virtual const std::vector<float> GetPosition()
const = 0;
virtual ~IGraphNode()
Destructor.
Definition: graph.h:36
Represents a node in a graph object.
Definition: graph.h:33
virtual ~IGraph()
Destructor.
Definition: graph.h:15
Represents a read only graph object.
Definition: graph.h:12
virtual const IGraphNode * GetNode(const std::string &name) const =0
Gets a node in the graph by name.
virtual const std::vector< IGraphNode * > & GetNodes() const =0
Gets all nodes in the graph.
virtual const std::vector< std::vector< float > > GetPath(std::vector< float > src, std::vector< float > dest) const =0
Returns a vector of float vectors that represent a path from src to dest.