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 #ifndef _CROSS_EX_H 00013 #define _CROSS_EX_H 00014 00015 class CrossExchange 00016 { 00017 public: 00018 bool route_search(class VRP *V, int r1, int r2, int criteria); 00019 00020 private: 00021 bool evaluate(class VRP *V, int i1, int i2, int k1, int k2, int j1, int j2, int l1, int l2, 00022 int criteria, VRPMove *M); 00023 bool move(class VRP *V, VRPMove *M); 00024 00025 }; 00026 00027 #endif 00028 00029