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
Algorithm::Evolutionary::Individual::Any(3) User Contributed Perl Documentation Algorithm::Evolutionary::Individual::Any(3)

Algorithm::Evolutionary::Individual::Any - Wrapper around any Perl data structure, turns it into a Chromosome

    use Algorithm::Evolutionary::Individual::Any;
    use Class::Name; # Your class here; it's required if not included anyways

    my $indi = new Algorithm::Evolutionary::Individual::Any Class::Name $class_args ; 

    $indi->Fitness( $fitness );
    print $indi->Fitness();

Algorithm::Evolutionary::Individual::Base

Bitstring Individual for a Genetic Algorithm. Used, for instance, in a canonical GA. That does not mean it can be used for mutation or crossover; normally you'll have to write your own classes

Creates a new individual by instantiating one of the given class with the arguments also issued here, which are forwarded to the class constructor.

No matter what kind of underlying structure is there, it will return the wrapped object. You can subclass and overload, however, but then you earn nothing to use this class; you're better off creating a new one altogether.

Returns 1. Here for compatibility
  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
2015-12-13 perl v5.32.1

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

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