Skip to content
Snippets Groups Projects
  • Romain BERNARD's avatar
    815eef9f
    update active vehicle id after insertion · 815eef9f
    Romain BERNARD authored
    TODO: find a more elegant way to do this, because it makes the Heuristic(s) responsible for updating a member of SAEVRoute
    I could make it a member of BestInsertionHeuristic but then that means we have to instanciate an object to use the algorithms which seems inappropriate. Unless maybe if Heuristics classes ends up being delegate members of another class to allow heuristics/algorithms change via this delegate
    815eef9f
    History
    update active vehicle id after insertion
    Romain BERNARD authored
    TODO: find a more elegant way to do this, because it makes the Heuristic(s) responsible for updating a member of SAEVRoute
    I could make it a member of BestInsertionHeuristic but then that means we have to instanciate an object to use the algorithms which seems inappropriate. Unless maybe if Heuristics classes ends up being delegate members of another class to allow heuristics/algorithms change via this delegate