This is the Route Strategy class where we can use the interface to decide which type of route behaviour to implement using a strategy pattern. More...
#include <route_strategy.h>
Public Member Functions | |
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 item to get the desired route. More... | |
This is the Route Strategy class where we can use the interface to decide which type of route behaviour to implement using a strategy pattern.
|
pure virtual |
Pure virtual function that will be overridden in derived classes. This function allows the moving item to get the desired route.
const | IGraph* graph |
std::vector<float> | location |
std::vector<float> | dest |
Implemented in csci3081::BeelineRoute, csci3081::ParabolicRoute, and csci3081::SmartRoute.