CSCI 3081 - Drone Delivery System
All Classes Files Functions Variables Friends Pages
smart_route.h
1 
4 #ifndef SMARTROUTE_H_
5 #define SMARTROUTE_H_
6 /*******************************************************************************
7  * Includes
8  ******************************************************************************/
9 
10 
11 #include <string>
12 #include <vector>
13 #include "route_strategy.h"
14 #include "json_helper.h"
15 
16 namespace csci3081 {
17 
18 /*******************************************************************************
19  * Class Definitions
20  ******************************************************************************/
25  public:
35  std::vector <std::vector<float>> GetRoute(const IGraph* graph, std::vector<float> location, std::vector<float> dest);
36  };
37 } // namespace 3081
38 #endif
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