GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ALGORITHM::EVOLUTIONARY::OP::REPLACE_DIFFERENT (3)

.ds Aq ’

NAME

Algorithm::Evolutionary::Op::Replace_Different - Incorporate individuals into the population replacing the worst ones but only if they are different.

CONTENTS

SYNOPSIS



  my $op = new Algorithm::Evolutionary::Op::Replace_Different;
  $op->apply( $old_population_hashref, $new_population_hashref );



Base Class

Algorithm::Evolutionary::Op::Base

DESCRIPTION

Replaces only unique individuals, avoiding to introduce copies of them into the new population .

METHODS

apply( CW$population, CW$chromosome_list )



    Eliminates the worst individuals in the population, replacing them
    by the list of new chromosomes, but only if they are different to the ones already present. The population must be evaluated,
    but theres no need to have it sorted in advance.  It returns a
    sorted population.



SEE ALSO

Algorithm::Evolutionary::Op::Generation_Skeleton, where the replacement policy is one of the parameters.

It can also be used in POE::Component::Algorithm::Evolutionary for insertion of new individuals asynchronously.

Another breeder is Algorithm::Evolutionary::Op::Replace_Worst.

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

  CVS Info: $Date: 2013/01/05 12:43:32 $
  $Header: /media/Backup/Repos/opeal/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Op/Replace_Different.pm,v 1.3 2013/01/05 12:43:32 jmerelo Exp $
  $Author: jmerelo $
  $Revision: 1.3 $
  $Name $



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ALGORITHM::EVOLUTIONARY::OP::REPLACE_DIFFERENT (3) 2014-10-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.