J. J. Merelo-Guervós > Algorithm-Evolutionary-0.67 > tide_float.pl

Download:
Algorithm-Evolutionary-0.67.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Algorithm-Evolutionary-0.71

NAME ^

tide_float.pl - Optimization of the tide function using A::E

SYNOPSIS ^

  prompt% ./tide_float.pl <population> <number of generations>

or

  prompt% perl tide_float.pl <population> <number of generations>

will show 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.

DESCRIPTION ^

A 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.

AUTHOR ^

Contributed by Pedro Castillo Valdivieso, modified by J. J. Merelo

Copyright ^

  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/03/19 21:13:47 $ 
  $Header: /cvsroot/opeal/Algorithm-Evolutionary/scripts/tide_float.pl,v 1.2 2009/03/19 21:13:47 jmerelo Exp $ 
  $Author: jmerelo $ 
  $Revision: 1.2 $
  $Name $