<?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/13 19:40:45 $
$Header: /cvsroot/opeal/opeal/Algorithm/xml/marea-fails.xml,v 1.1 2003/02/13 19:40:45 jmerelo Exp $
$Author: jmerelo $
$Revision: 1.1 $
$Name $
-->
<ea xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation='EvoSpec.xsd'
version='0.4'>
<casca />
<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>