VRPH  1.0
inc/ClarkeWright.h
Go to the documentation of this file.
00001 
00002 //                                                        //
00003 // This file is part of the VRPH software package for     //
00004 // generating solutions to vehicle routing problems.      //
00005 // VRPH was developed by Chris Groer (cgroer@gmail.com).  //
00006 //                                                        //
00007 // (c) Copyright 2010 Chris Groer.                        //
00008 // All Rights Reserved.  VRPH is licensed under the       //
00009 // Common Public License.  See LICENSE file for details.  //
00010 //                                                        //
00012 
00013 #ifndef _CW_H
00014 #define _CW_H
00015 
00016 
00017 #define VRPH_UNUSED             0                       // For node status use
00018 #define VRPH_ADDED              1                       // For node status use
00019 #define VRPH_INTERIOR   2                       // For node status use
00020 
00021 class ClarkeWright
00022 {
00023 public:
00024     ClarkeWright(int n);
00025     ~ClarkeWright();
00026     bool Construct(class VRP *V, double lambda, bool use_neighbor_list);
00027     class VRPSavingsElement *s;
00028     void CreateSavingsMatrix(class VRP *V, double lambda, bool use_neighbor_list);      
00029     bool has_savings_matrix;
00030     int savings_matrix_size;
00031 
00032 };
00033 
00034 #endif
00035 
00036