VRPSolution Class Reference

#include <VRPSolution.h>

List of all members.

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


Detailed Description

Definition at line 16 of file VRPSolution.h.


Constructor & Destructor Documentation

VRPSolution::VRPSolution (  ) 

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.

VRPSolution::~VRPSolution (  ) 

Destructor for the VRPSolution.

Definition at line 307 of file VRPSolution.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 27 of file VRPSolution.h.

Definition at line 29 of file VRPSolution.h.

Definition at line 28 of file VRPSolution.h.

Definition at line 30 of file VRPSolution.h.

Definition at line 31 of file VRPSolution.h.


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