Maze_Solver  1.0
A Maze Solver Algorithm for BotnRoll ONE A
Path.h
Go to the documentation of this file.
1 #ifndef PATH_H
2 #define PATH_H
3 
4 #if defined(ARDUINO) && ARDUINO >= 100
5 #include "Arduino.h"
6 #else
7 #include "WProgram.h"
8 #endif
9 
12 
13 class Path
14 {
15  public:
17  String getPath();
18 
20  void setPath(String newPath);
21 
23  void updatePath(MoveType newMove);
24 
26  void getShortestPath(Path& exploredPath);
27 
28  private:
29  String _path;
30 };
31 
32 #endif
Definition: Path.h:11
Definition: Path.h:11
Definition: Path.h:11
Definition: Path.h:11
Definition: Path.h:13
MoveType
Admissible movements.
Definition: Path.h:11
Definition: Path.h:11
void setPath(String newPath)
sets the path
Definition: Path.cpp:8
void getShortestPath(Path &exploredPath)
calculates and retrieves the shortest path from the given exploredPath
Definition: Path.cpp:42
Definition: Path.h:11
void updatePath(MoveType newMove)
inserts a newMove to the path
Definition: Path.cpp:13
Definition: Path.h:11
String getPath()
retrieves the path
Definition: Path.cpp:3