VRPH
1.0
|
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 00014 #ifndef _TPM_H_ 00015 #define _TPM_H_ 00016 00017 class TwoPointMove 00018 { 00019 public: 00020 bool search(class VRP *V, int i, int rules); 00021 bool route_search(class VRP *V, int r1, int r2, int rules); 00022 00023 private: 00024 bool evaluate(class VRP *V, int i, int j, int rules, VRPMove *M); 00025 bool move(class VRP *V, VRPMove *M);//, int i, int j); 00026 00027 }; 00028 00029 #endif 00030