worked on disjkstra and a*
This commit is contained in:
@@ -152,6 +152,11 @@ public:
|
||||
return (hashes.find(uid) != hashes.end());
|
||||
}
|
||||
|
||||
/** get a list of all nodes within the graph */
|
||||
const std::vector<T>& getNodes() const {
|
||||
return nodes;
|
||||
}
|
||||
|
||||
/** get the center-node the given Point belongs to */
|
||||
const T& getNodeFor(const GridPoint& p) {
|
||||
const UID uid = getUID(p);
|
||||
|
||||
Reference in New Issue
Block a user