|
VRPH
1.0
|
#include <VRPMove.h>
Public Member Functions | |
| VRPMove () | |
| VRPMove (int n) | |
| ~VRPMove () | |
| bool | is_better (class VRP *V, VRPMove *M2, int criteria) |
Public Attributes | |
| int | criteria |
| int | num_affected_routes |
| int | route_nums [MAX_AFFECTED_ROUTES] |
| double | route_lens [MAX_AFFECTED_ROUTES] |
| int | route_loads [MAX_AFFECTED_ROUTES] |
| int | route_custs [MAX_AFFECTED_ROUTES] |
| double * | arrival_times |
| double | savings |
| int | total_number_of_routes |
| double | new_total_route_length |
| int | move_type |
| int | num_arguments |
| int | move_arguments [MAX_ARGUMENTS] |
| int | eval_arguments [MAX_ARGUMENTS] |
| bool | evaluated_savings |
| VRPMove::VRPMove | ( | ) |
Contains data regarding a particular "move" or solution modification.
Definition at line 15 of file VRPMove.cpp.
| VRPMove::VRPMove | ( | int | n | ) |
Definition at line 29 of file VRPMove.cpp.
Definition at line 42 of file VRPMove.cpp.
| bool VRPMove::is_better | ( | class VRP * | V, |
| VRPMove * | M2, | ||
| int | criteria | ||
| ) |
Evaluates this move versus M2 in terms of the provided rules. Returns true of this move is superior to M2 and false otherwise.
Definition at line 49 of file VRPMove.cpp.
| double* VRPMove::arrival_times |
| double VRPMove::savings |
1.7.6.1