Algorithm::Evolutionary::Fitness::ZDT1 - Zitzler-Deb-Thiele #1 Multiobjective test function
my $number_of_bits = 5; my $z = Algorithm::Evolutionary::Fitness::ZDT1->new( $number_of_bits); my $string = "10101"x30; $z->zdt1( $string); #Previously created binary chromosome with 5x30 bits $z->apply( $chromosome );
Implementation of the first ZDT test function, found at "Comparison of Multiobjective Evolutionary Algorithms: Empirical Results" by Zitzler, Deb and Thiele
Creates a new instance of the problem, with the said number of bits and peaks
Applies the instantiated problem to a chromosome
Computes ZDT1, returning an array hash with the values of f1 and f2.
G function in ZDT
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
To install Algorithm::Evolutionary::Fitness, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Evolutionary::Fitness
CPAN shell
perl -MCPAN -e shell install Algorithm::Evolutionary::Fitness
For more information on module installation, please visit the detailed CPAN module installation guide.