The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Algorithm::Evolutionary::Fitness::ZDT1 - Zitzler-Deb-Thiele #1 Multiobjective test function

SYNOPSIS

    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 );

DESCRIPTION

Implementation of the first ZDT test function, found at "Comparison of Multiobjective Evolutionary Algorithms: Empirical Results" by Zitzler, Deb and Thiele

METHODS

new

Creates a new instance of the problem, with the said number of bits and peaks

_really_apply

Applies the instantiated problem to a chromosome

zdt1

Computes ZDT1, returning an array hash with the values of f1 and f2.

g

G function in ZDT

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