Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: Genetic Programming or breeding Perls

by runrig (Abbot)
on Sep 27, 2000 at 03:38 UTC ( [id://34133]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $code = "";
    map { $code .= $_} (@{$self->{GENES}});
    
  2. or download this
    my $code = join('', @{$self->{GENES}});
    
  3. or download this
    for my $i (0 .. $self->{SIZE}) {
          my $individual = Individual->new();
          $individual->create();
          push (@{$self->{INDIVIDUALS}}, $individual); 
    }
    
  4. or download this
    push (@{$self->{INDIVIDUALS}}, Individual->new->create) for 0..$self->
    +{SIZE};
    
  5. or download this
    $self->{INDIVIDUALS} = [ map {Individual->new->create} 0..$self->{SIZE
    +} ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found