VRPH
1.0
|
#include <Flip.h>
Public Member Functions | |
bool | evaluate (class VRP *V, int i, int j, VRPMove *M) |
bool | move (VRP *V, int u, int i) |
Evaluates the move of reversing a portion of a route in between nodes start and end. Example: 0-a-b-start-d-e-f-g-h-end-x-y-z-0 becomes 0-a-b-start-h-g-f-e-d-end-x-y-z-0. If the move is feasible, the information regarding the move is stored in the VRPMove data structure M. start_point must be before end_point in the current route orientation.
bool Flip::move | ( | VRP * | V, |
int | u, | ||
int | i | ||
) |