00001 // "two_opt_rand.cpp" 00002 00003 // (c) OPAC Team, LIFL, January 2006 00004 00005 /* 00006 Contact: paradiseo-help@lists.gforge.inria.fr 00007 */ 00008 00009 #include <utils/eoRNG.h> 00010 00011 #include "two_opt_rand.h" 00012 #include "node.h" 00013 00014 void TwoOptRand :: operator () (TwoOpt & __move, const Route & __route) { 00015 00016 __move.second = rng.random (numNodes); 00017 00018 __move.first = rng.random (__move.second); 00019 } 00020 00021
1.4.7