Skip to content
Snippets Groups Projects
Commit cf8aa4c4 authored by Romain BERNARD's avatar Romain BERNARD
Browse files

add class architecture TODO

parent 7667106e
No related branches found
No related tags found
1 merge request!1Multimodal Insertion Heuristic prototype
......@@ -29,6 +29,11 @@ private:
const std::vector<Request>* _requestsVect{nullptr};
SAEVRoute* _route{nullptr}; //_route is a pointer here to decorrelate the route from the algorithm and facilitate using multiple modules on the same route
//TODO: Move the diverse components (min/max constraints, get best entries/exits list etc) to their own classes to be used as delegates/decorator-like pattern
// This would have the added benefit of easier customisation. Just have a common "apply()" function, and give useful data in constructor
// => every inheritor just has an apply() method, used here, returning the appropriate data,
// but child class constructor can be free to have all the data we want
/**
* Vector holding every entry sub request created to prevent refs staleness
* while letting the requests vector hold only the base requests \n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment