Lesson 3 modifications
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@174 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
919d586fae
commit
7033cd6cd8
1 changed files with 3 additions and 3 deletions
|
|
@ -54,11 +54,11 @@ int main (int __argc, char * __argv []) {
|
|||
moEasyCoolSched cool_sched (0.1, 0.98) ; // Cooling Schedule
|
||||
|
||||
moGenSolContinue <Route> cont (1000) ; /* Temperature Descreasing
|
||||
will occur each 100
|
||||
will occur each 1000
|
||||
iterations */
|
||||
|
||||
moSA <TwoOpt> simul_anneal (two_opt_rand, two_opt_incr_eval, cont, 1000, cool_sched, full_eval) ;
|
||||
simul_anneal (route) ;
|
||||
moSA <TwoOpt> simulated_annealing (two_opt_rand, two_opt_incr_eval, cont, 1000, cool_sched, full_eval) ;
|
||||
simulated_annealing (route) ;
|
||||
|
||||
std :: cout << "[To] " << route << std :: endl ;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue