aboutsummaryrefslogtreecommitdiffstats
path: root/include/astar.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/astar.hpp')
-rw-r--r--include/astar.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/astar.hpp b/include/astar.hpp
index 30e9d65..321431c 100644
--- a/include/astar.hpp
+++ b/include/astar.hpp
@@ -9,7 +9,7 @@
// defines the number of nodes one can go to
// we don't need this as we will have the queues
-#define NEIGHBOUR_NUM 4
+#define NEIGHBOUR_NUM 8
// TODO add constructors and functions to calculate heuristics etc..
class AStar {
@@ -29,6 +29,8 @@ private:
int graph_height;
int path_length;
+ int count;
+
Node start_node, end_node;
bool start_algorithm();