
SimulatedAnnealing - An operator that performs the simulated annealing algorithm on an individual, using an external freezing schedule

#Define an algorithm my $m = new Algorithm::Evolutionary::Op::BitFlip; #Changes a single bit my $freezer = new Algorithm::Evolutionary::Op:LinearFreezer( $initTemp ); my $sa = new Algorithm::Evolutionary::Op::SimulatedAnnealing( $eval, $m, $freezer, $initTemp, $minTemp, $numChanges );

Algorithm::Evolutionary::Op::Base

Simulated Annealing

Creates a simulated annealing object
Applies the algorithm to the individual, returns the resulting individual when the min temperature is reached. Same as apply in other operators

This file is released under the GPL. See the LICENSE file included in this distribution, or go to http://www.fsf.org/licenses/gpl.txt CVS Info: $Date: 2009/07/24 08:46:59 $ $Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/SimulatedAnnealing.pm,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.0 $ $Name $