13 #include "route_strategy.h" 14 #include "json_helper.h" 35 std::vector <std::vector<float>>
GetRoute(
const IGraph* graph, std::vector<float> location, std::vector<float> dest);
This is the Smart Route class where we can use the strategy pattern to implement a A* shortest path r...
Definition: smart_route.h:24
Definition: asubject.cc:3
std::vector< std::vector< float > > GetRoute(const IGraph *graph, std::vector< float > location, std::vector< float > dest)
This function allows the moving item to get the desired route. In this class, the function will retur...
Definition: smart_route.cc:4
Represents a read only graph object.
Definition: graph.h:12
This is the Route Strategy class where we can use the interface to decide which type of route behavio...
Definition: route_strategy.h:24