<?xml version="1.0"?>
<!DOCTYPE ea SYSTEM "EvoSpec.dtd">
<!-- Parameters for an evolutionary algorithm; also generation 0 of the same algorithm -->
<!--
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: 2003/02/14 11:03:00 $
$Header: /cvsroot/opeal/opeal/Algorithm/xml/marea.xml,v 1.3 2003/02/14 11:03:00 jmerelo Exp $
$Author: jmerelo $
$Revision: 1.3 $
$Name $
-->
<ea version='0.4'>
<initial>
<op name='Creator' >
<param name='number' value='20' />
<param name='class' value='Vector' />
<param name='options'>
<param name='length' value='2' />
<param name='rangestart' value='0' />
<param name='rangeend' value='1' />
</param>
</op>
<op name='Easy' type='unary'>
<param name='selrate' value='0.4' />
<param name='maxgen' value='100' />
<code type='eval' language='perl'>
<src><![CDATA[ my $indi = shift;
my ( $x, $y ) = @{$indi->{_array}};
my $sqrt = sqrt( $x*$x+$y*$y);
return sin( $sqrt )/$sqrt;
]]></src>
</code>
<op name='GaussianMutation' type='unary' rate='1'>
<param name='avg' value='0' />
<param name='stddev' value='0.1' />
</op>
<op name='VectorCrossover' type='binary' rate='1'>
<param name='numPoints' value='1' />
</op>
</op>
</initial>
</ea>