22 Mar 2016 19:19:48 UTC
- Distribution: Algorithm-Evolutionary-Fitness
- Module version: 3.1
- Source (raw)
- Browse (raw)
- How to Contribute
- KwaliteeBus factor: 1
- License: open_source
- Activity24 month
- Download (23.53KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionJMERELO J. J. Merelo-Guervósand 1 contributors
- JJ Merelo <jj /at/ merelo.net>
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
Module Install Instructions
To install Algorithm::Evolutionary::Fitness, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Algorithm::Evolutionary::Fitness
For more information on module installation, please visit the detailed CPAN module installation guide.