NAME

Algorithm::Evolutionary::Individual::Any - Wrapper around any Perl class, turns into a I<Chromosome> any class

SYNOPSIS

use Algorithm::Evolutionary::Individual::Any;

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

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

Base Class

Algorithm::Evolutionary::Individual::Base

DESCRIPTION

Bitstring Individual for a Genetic Algorithm. Used, for instance, in a canonical GA

METHODS

new( $base_class, $base_class_args )

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

Atom([$index])

No matter what you write, it will return the object wrapped

size()

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

CVS Info: $Date: 2009/02/04 20:43:14 $ 
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Individual/Any.pm,v 2.1 2009/02/04 20:43:14 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 2.1 $
$Name $