|
VRPH
1.0
|
#include <Presert.h>
Public Member Functions | |
| bool | evaluate (class VRP *V, int i, int j, VRPMove *M) |
| bool | move (VRP *V, int u, int i) |
| bool Presert::evaluate | ( | class VRP * | V, |
| int | i, | ||
| int | j, | ||
| VRPMove * | M | ||
| ) |
This function evaluates the move where we insert node u BEFORE node i in whatever route node i is currently in. If the move is feasible, the relevant solution information is placed in the VRPMove M.
Definition at line 15 of file Presert.cpp.
| bool Presert::move | ( | VRP * | V, |
| int | u, | ||
| int | i | ||
| ) |
This function inserts node number u BEFORE node i in whatever route node i is currently in if the move is feasible.
Definition at line 167 of file Presert.cpp.
1.7.6.1