|
VRPH
1.0
|
#include <Concatenate.h>
Public Member Functions | |
| bool | evaluate (class VRP *V, int i, int j, int criteria, VRPMove *M) |
| bool | move (VRP *V, int u, int i) |
Definition at line 15 of file Concatenate.h.
| bool Concatenate::evaluate | ( | class VRP * | V, |
| int | i, | ||
| int | j, | ||
| int | criteria, | ||
| VRPMove * | M | ||
| ) |
This function takes route i_route and j_route and attempts to concatenate them together. Example: 1-i-a-b-c-...-x-1 and 1-aa-bb-...-zz-j-1 and merges them to form 1-aa-bb-...-zz-j-i-a-b-c-...-x-1 Note that the move_arguments i_route and j_route refer to the route numbers themselves and not the node numbers!
Definition at line 15 of file Concatenate.cpp.
| bool Concatenate::move | ( | VRP * | V, |
| int | u, | ||
| int | i | ||
| ) |
Attempts to merge the two routes i_route and j_route into a single route
Definition at line 85 of file Concatenate.cpp.
1.7.6.1