worked on disjkstra and a*

This commit is contained in:
2016-04-10 19:36:51 +02:00
parent d0801606b7
commit e3d245096f
4 changed files with 176 additions and 4 deletions

View File

@@ -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);