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 _OR_H 00014 #define _OR_H 00015 00016 00017 class OrOpt 00018 { 00019 public: 00020 bool search(class VRP *V, int i, int j, int rules); 00021 bool route_search(class VRP *V, int r1, int r2, int k, int rules); 00022 00023 private: 00024 bool evaluate(class VRP *V, int a, int len, int c, int d, int rules, VRPMove *M); 00025 bool move(class VRP *V, VRPMove *M); 00026 00027 }; 00028 00029 00030 #endif 00031 00032 00033