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 ( #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
Node Status?
node history
Node Type: note [id://34133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-19 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls