|
VRPH
1.0
|
#include <ThreePointMove.h>
Public Member Functions | |
| bool | search (class VRP *V, int b, int criteria) |
| bool | route_search (class VRP *V, int r1, int r2, int criteria) |
Private Member Functions | |
| bool | evaluate (class VRP *V, int a, int j, int k, int criteria, VRPMove *M) |
| bool | move (class VRP *V, VRPMove *M) |
Definition at line 16 of file ThreePointMove.h.
| bool ThreePointMove::evaluate | ( | class VRP * | V, |
| int | a, | ||
| int | j, | ||
| int | k, | ||
| int | criteria, | ||
| VRPMove * | M | ||
| ) | [private] |
Evaluates the move of exchanging node b with the position of edge i-j. subject to the given rules. Details of move placed in the VRPMove M if it meets rules.
Definition at line 309 of file ThreePointMove.cpp.
| bool ThreePointMove::move | ( | class VRP * | V, |
| VRPMove * | M | ||
| ) | [private] |
Makes the ThreePointMove specified by M.
Definition at line 464 of file ThreePointMove.cpp.
| bool ThreePointMove::route_search | ( | class VRP * | V, |
| int | r1, | ||
| int | r2, | ||
| int | criteria | ||
| ) |
Searches for all ThreePointMoves involving two nodes from route r1 and one node from route r2.
Definition at line 185 of file ThreePointMove.cpp.
| bool ThreePointMove::search | ( | class VRP * | V, |
| int | b, | ||
| int | criteria | ||
| ) |
Searches for ThreePointMoves involving node b. In this move, the position of node b is exchanged with two other nodes in an existing edge.
Definition at line 15 of file ThreePointMove.cpp.
1.7.6.1