|
VRPH
1.0
|
#include "VRPH.h"Go to the source code of this file.
Functions | |
| double | VRPDistance (int type, double x1, double y1, double x2, double y2) |
| int | VRPDistanceCompare (const void *a, const void *b) |
| int | VRPIntCompare (const void *a, const void *b) |
| int | double_int_compare (const void *a, const void *b) |
| int | int_int_compare (const void *a, const void *b) |
| int | VRPSavingsCompare (const void *a, const void *b) |
| int | VRPNeighborCompare (const void *a, const void *b) |
| int | VRPSolutionCompare (const void *a, const void *b) |
| int | VRPAlphaCompare (const void *a, const void *b) |
| int | VRPRouteCompare (const void *a, const void *b) |
| int double_int_compare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two double_int's using the double field.
Definition at line 107 of file VRPUtils.cpp.
| int int_int_compare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two int_int's using the j field.
Definition at line 126 of file VRPUtils.cpp.
| int VRPAlphaCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two strings and sorts alphabetically.
Definition at line 212 of file VRPUtils.cpp.
| double VRPDistance | ( | int | type, |
| double | x1, | ||
| double | y1, | ||
| double | x2, | ||
| double | y2 | ||
| ) |
Distance function for 2D problems.
Definition at line 15 of file VRPUtils.cpp.
| int VRPDistanceCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two doubles.
Definition at line 78 of file VRPUtils.cpp.
| int VRPIntCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two int's.
Definition at line 97 of file VRPUtils.cpp.
| int VRPNeighborCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two VRPNeighborElements using the val field.
Definition at line 168 of file VRPUtils.cpp.
| int VRPRouteCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two VRPRoutes using the length field.
Definition at line 221 of file VRPUtils.cpp.
| int VRPSavingsCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two VRPSavingsElement's using the savings field.
Definition at line 144 of file VRPUtils.cpp.
| int VRPSolutionCompare | ( | const void * | a, |
| const void * | b | ||
| ) |
Compares two VRPSolution's using the obj field.
Definition at line 192 of file VRPUtils.cpp.
1.7.6.1