VRPH  1.0
Public Member Functions | Public Attributes
VRPTabuList Class Reference

#include <VRPTabuList.h>

List of all members.

Public Member Functions

 VRPTabuList ()
 VRPTabuList (int t)
 ~VRPTabuList ()
void update_list (VRPRoute *r)
void show ()
void empty ()

Public Attributes

int max_entries
int num_entries
int start_index
int * hash_vals1
int * hash_vals2
bool full

Detailed Description

Definition at line 18 of file VRPTabuList.h.


Constructor & Destructor Documentation

Default constructor for the VRPTabuList.

Definition at line 15 of file VRPTabuList.cpp.

Constructor for the VRPTabuList with t tabu routes.

Definition at line 31 of file VRPTabuList.cpp.

Destructor for the VRPTabuList.

Definition at line 54 of file VRPTabuList.cpp.


Member Function Documentation

Removes all entries from the tabu list.

Definition at line 113 of file VRPTabuList.cpp.

Shows the hash values of the current tabu list, starting with start_index and listing all current entries.

Definition at line 137 of file VRPTabuList.cpp.

Updates the tabu list by adding the route r.

Definition at line 67 of file VRPTabuList.cpp.


Member Data Documentation

Definition at line 34 of file VRPTabuList.h.

Definition at line 31 of file VRPTabuList.h.

Definition at line 32 of file VRPTabuList.h.

Definition at line 28 of file VRPTabuList.h.

Definition at line 29 of file VRPTabuList.h.

Definition at line 30 of file VRPTabuList.h.


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