NAME

Algorithm::Evolutionary::Op::Inverover  - Michalewicz\'s inver-over Operator. 

SYNOPSIS

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 BinaryIndi 10;
my $indi2 = $indi->clone();
my $indi3 = $indi->clone();
$op3->apply( $indi2, $indi3 );

Base Class

Algorithm::Evolutionary::Op::Base

DESCRIPTION

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 http://www.dcs.napier.ac.uk/coil/news/feature48.html. You can also download papers from http://www.cs.adelaide.edu.au/~zbyszek/Papers/.

METHODS

new( $rate )

Creates a new Algorithm::Evolutionary::Op::Inverover operator.

create

Creates a new Algorithm::Evolutionary::Op::Inverover operator.

apply( $first, $second )

Applies Algorithm::Evolutionary::Op::Inverover operator to a "Chromosome", a bitstring, really. Can be applied only to victims with the _bitstring instance variable; but it checks before application that both operands are of type Algorithm::Evolutionary::Individual::Vector.

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/02/04 20:43:14 $ 
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Inverover.pm,v 2.1 2009/02/04 20:43:14 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 2.1 $
$Name $  

1 POD Error

The following errors were encountered while parsing the POD:

Around line 35:

alternative text 'http://www.dcs.napier.ac.uk/coil/news/feature48.html' contains non-escaped | or /

alternative text 'http://www.cs.adelaide.edu.au/~zbyszek/Papers/' contains non-escaped | or /