ThreePointMove Class Reference

#include <ThreePointMove.h>

List of all members.

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)


Detailed Description

Definition at line 16 of file ThreePointMove.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:

Generated on Thu Mar 10 11:08:49 2011 for VRPH by  doxygen 1.5.9