Algorithm::Evolutionary::Op::Inverover - Michalewicz's inver-over Operator.
my $xmlStr3=<<EOC; <op name='Inverover' type='binary' rate='1' /> EOC my $ref3 = XMLin($xmlStr3); my $op3 = Algorithm::Evolutionary::Op::Base->fromXML( $ref3 ); print $op3->asXML(), "\n"; my $indi = new Algorithm::Evolutionary::Individual::BitString 10; my $indi2 = $indi->clone(); my $indi3 = $indi->clone(); $op3->apply( $indi2, $indi3 );
Algorithm::Evolutionary::Op::Base
Inver-over operator for a GA. Created by Michalewicz et al., mainly for the travelling salesman problem. Takes two chromosomes, which are permutations of each other.
There is some information on this operator in this interview with Michalewicz: http://www.dcs.napier.ac.uk/coil/news/feature48.html. You can also download papers from his home page: http://www.cs.adelaide.edu.au/~zbyszek/Papers/.
Creates a new Algorithm::Evolutionary::Op::Inverover operator.
Applies Algorithm::Evolutionary::Op::Inverover operator to a "Chromosome". Can be applied to anything with the Atom method.
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: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Inverover.pm,v 3.0 2009/07/24 08:46:59 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.0 $ $Name $
To install Algorithm::Evolutionary, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Evolutionary
CPAN shell
perl -MCPAN -e shell install Algorithm::Evolutionary
For more information on module installation, please visit the detailed CPAN module installation guide.