CSCI 3081 - Drone Delivery System
All Classes Files Functions Variables Friends Pages
route_strategy.h
1 
4 #ifndef ROUTE_STRATEGY_H_
5 #define ROUTE_STRATEGY_H_
6 /*******************************************************************************
7  * Includes
8  ******************************************************************************/
9 #include <string>
10 #include <vector>
11 #include "vector.h"
12 // #include <EntityProject/facade/graph.h>
13 #include <EntityProject/facade/delivery_system.h>
14 
15 namespace csci3081 {
16 
17 /*******************************************************************************
18  * Class Definitions
19  ******************************************************************************/
25  public:
34  virtual std::vector <std::vector<float>> GetRoute(const IGraph* graph, std::vector<float> location, std::vector<float> dest) = 0;
35  virtual ~RouteStrategy(){}
36  };
37 } // namespace 3081
38 
39 #endif // ROUTE_STRATEGY_H_
Definition: asubject.cc:3
Represents a read only graph object.
Definition: graph.h:12
virtual std::vector< std::vector< float > > GetRoute(const IGraph *graph, std::vector< float > location, std::vector< float > dest)=0
Pure virtual function that will be overridden in derived classes. This function allows the moving ite...
This is the Route Strategy class where we can use the interface to decide which type of route behavio...
Definition: route_strategy.h:24