NAME

Algorithm::Evolutionary::Utils - Container module with a hodgepodge of functions
             

SYNOPSIS

use Algorithm::Evolutionary::Utils qw(entropy);

my $this_entropy = entropy( $population );

#Computes consensus sequence (for binary chromosomes
my $this_consensus = consensus( $population); 

DESCRIPTION

Miscellaneous class that contains functions that might be useful somewhere else, especially when computing EA statistics.

METHODS

entropy

Computes the entropy using the well known Shannon's formula: http://en.wikipedia.org/wiki/Information_entropy 'to avoid botching highlighting

hamming

Computes the number of positions that are different among two strings

consensus

Consensus sequence representing the majoritary value for each bit

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: 2008/06/16 16:31:28 $ 
$Header: /cvsroot/opeal/Algorithm-Evolutionary/lib/Algorithm/Evolutionary/Utils.pm,v 1.3 2008/06/16 16:31:28 jmerelo Exp $ 
$Author: jmerelo $ 
$Revision: 1.3 $
$Name $