|
VRPH
1.0
|
#include <VRPSolution.h>
Public Member Functions | |
| VRPSolution () | |
| VRPSolution (int n) | |
| ~VRPSolution () | |
| int | hash (int salt) |
Public Attributes | |
| bool | in_IP |
| double | obj |
| int | n |
| int * | sol |
| double | time |
Definition at line 16 of file VRPSolution.h.
Contains fields and methods to process solutions to the VRP.
Default constructor for the VRPSolution.
Definition at line 293 of file VRPSolution.cpp.
| VRPSolution::VRPSolution | ( | int | n | ) |
Constructor for an n-node VRPSolution.
Definition at line 277 of file VRPSolution.cpp.
Destructor for the VRPSolution.
Definition at line 307 of file VRPSolution.cpp.
| int VRPSolution::hash | ( | int | salt | ) |
Computes a hash of the solution, returning an integer in the range [0,n-1]. The solution buffer should be in canonical form so that the hash value is in terms of the ordering.
Definition at line 255 of file VRPSolution.cpp.
| bool VRPSolution::in_IP |
Definition at line 27 of file VRPSolution.h.
| int VRPSolution::n |
Definition at line 29 of file VRPSolution.h.
| double VRPSolution::obj |
Definition at line 28 of file VRPSolution.h.
| int* VRPSolution::sol |
Definition at line 30 of file VRPSolution.h.
| double VRPSolution::time |
Definition at line 31 of file VRPSolution.h.
1.7.6.1