VRPH  1.0
Public Member Functions
MoveString Class Reference

#include <MoveString.h>

List of all members.

Public Member Functions

bool evaluate (class VRP *V, int a, int b, int u, int v, VRPMove *M)
bool move (class VRP *V, int a, int b, int u, int v)

Detailed Description

Definition at line 16 of file MoveString.h.


Member Function Documentation

bool MoveString::evaluate ( class VRP V,
int  a,
int  b,
int  u,
int  v,
VRPMove M 
)

Evaluates the move of taking the string between u and v (i.e. t-u-j-k-l-m-v-w) and inserting between a and b (assumed to currently be an existing edge), yielding t-w & a-u-j-k-l-m-b

Definition at line 14 of file MoveString.cpp.

bool MoveString::move ( class VRP V,
int  a,
int  b,
int  u,
int  v 
)

Takes the string of nodes between u and v (inclusive) and places it between a and b.

Definition at line 179 of file MoveString.cpp.


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