![]() |
![]()
| ![]() |
![]()
NAMEtide_bitstring.pl - Implementation of the Tide optimization using A::E SYNOPSISprompt% ./tide_bitstring.pl <population> <number of generations> or prompt% perl tide_bitstring.pl <population> <number of generations> # Shows the values of the two floating-point components of the # chromosome and finally the best value and fitness reached, which # should be as close to 1 as possible. DESCRIPTIONA simple example of how to run an Evolutionary algorithm based on Algorithm::Evolutionary. Tries to find the max of the bidimensional Tide , and outputs the x and y coordinates, along with fitness. Best fitness is close to 1. Around 50 generations should be enough, but default is population and number of generations equal to 100. This one uses a bitstring, as opposed to floating point, representation. AUTHORContributed by Pedro Castillo Valdivieso, modified by J. J. Merelo CopyrightThis 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: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/scripts/tide_bitstring.pl,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.0 $ $Name $
|