Algorithm-Evolutionary

 view release on metacpan or  search on metacpan

lib/Algorithm/Evolutionary.pm  view on Meta::CPAN

25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
      push(@failed, $module);
    }
  }
 
  @failed and croak "could not import qw(" . join(' ', @failed) . ")";
}
 
1;
__END__
 
=encoding utf8
 
=head1 NAME
 
Algorithm::Evolutionary - Perl module for performing paradigm-free evolutionary algorithms.
 
=head1 SYNOPSIS
 
  #Short way of loading a lot of modules, POE-style
  use Algorithm::Evolutionary qw( Op::This_Operator
                                  Individual::That_Individual

lib/Algorithm/Evolutionary/Fitness/Any.pm  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict; #-*-cperl-*-
 
use lib qw( ../../../../lib );
 
=encoding utf8
 
=head1 NAME
 
Algorithm::Evolutionary::Fitness::Any - Façade for any function so that it can be used as fitness
 
=head1 SYNOPSIS
 
   use Algorithm::Evolutionary::Utils qw( string_decode )
 
   sub squares {

lib/Algorithm/Evolutionary/Individual/String.pm  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
 
use lib qw(../../../lib);
 
=encoding utf8
 
=head1 NAME
 
    Algorithm::Evolutionary::Individual::String - A character string to be evolved. Useful mainly in word games
 
=head1 SYNOPSIS
 
    use Algorithm::Evolutionary::Individual::String;
 
    my $indi = new Algorithm::Evolutionary::Individual::String ['a'..'z'], 10;

lib/Algorithm/Evolutionary/Op/Combined.pm  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
 
=encoding utf8
 
=head1 NAME
 
Algorithm::Evolutionary::Op::Combined - Combinator of several operators of the same arity, unary or binary
 
=head1 SYNOPSIS
 
 
  #Initialize using OO interface
  my $op = new Algorithm::Evolutionary::Op::Mutation 0.1 3

lib/Algorithm/Evolutionary/Op/GaussianMutation.pm  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
 
use lib qw(../../..);
 
=encoding utf8
 
=head1 NAME
 
Algorithm::Evolutionary::Op::GaussianMutation - Changes numeric chromosome components following the gaussian distribution.
 
=cut
 
=head1 SYNOPSIS
 
  my $op = new Algorithm::Evolutionary::Op::GaussianMutation( 0, 0.05) # With average 0, and 0.05 standard deviation



( run in 1.033 second using v1.01-cache-2.11-cpan-49f99fa48dc )