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