CSCI 3081 - Drone Delivery System
All Classes Files Functions Variables Friends Pages
beeline_route.h
1 
4 #ifndef BEELINEROUTE_H_
5 #define BEELINEROUTE_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:
40  std::vector <std::vector<float>> GetRoute(const IGraph* graph, std::vector<float> location, std::vector<float> dest);
41  };
42 } // namespace 3081
43 #endif
This is the Beeline Route class where we can use the strategy pattern to implement a Beeline route fo...
Definition: beeline_route.h:24
Definition: asubject.cc:3
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
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: beeline_route.cc:5