VRPH
1.0
|
#include <MoveString.h>
Public Member Functions | |
bool | evaluate (class VRP *V, int a, int b, int u, int v, VRPMove *M) |
bool | move (class VRP *V, int a, int b, int u, int v) |
Definition at line 16 of file MoveString.h.
bool MoveString::evaluate | ( | class VRP * | V, |
int | a, | ||
int | b, | ||
int | u, | ||
int | v, | ||
VRPMove * | M | ||
) |
Evaluates the move of taking the string between u and v (i.e. t-u-j-k-l-m-v-w) and inserting between a and b (assumed to currently be an existing edge), yielding t-w & a-u-j-k-l-m-b
Definition at line 14 of file MoveString.cpp.
bool MoveString::move | ( | class VRP * | V, |
int | a, | ||
int | b, | ||
int | u, | ||
int | v | ||
) |
Takes the string of nodes between u and v (inclusive) and places it between a and b.
Definition at line 179 of file MoveString.cpp.