Algorithm::Evolutionary::Fitness::Royal_Road - Mitchell's Royal Road function
my $block_size = 4; my $rr = Algorithm::Evolutionary::Fitness::Royal_Road->new( $block_size );
Royal Road function, adds block_size to fitness only when the block is complete
Creates a new instance of the problem, with the said block size.
Computes the royal road function with given block size. Results are cached by default.
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/28 11:30:56 $ $Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Fitness/Royal_Road.pm,v 3.1 2009/07/28 11:30:56 jmerelo Exp $ $Author: jmerelo $ $Revision: 3.1 $ $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.