Trees | Index | Help |
---|
Package Bio :: Package NeuralNetwork :: Package Gene :: Module Schema :: Class MostCountSchemaFitness |
|
Calculate a fitness giving weight to schemas that match many times.
This fitness function tries to maximize schemas which are found many times in a group of sequences.Method Summary | |
---|---|
Initialize with sequences to evaluate. | |
Calculate the fitness of a genome based on schema matches. |
Method Details |
---|
__init__(self,
seq_records,
schema_evaluator)
|
calculate_fitness(self, genome)Calculate the fitness of a genome based on schema matches. This bases the fitness of a genome completely on the number of times it matches in the set of seq_records. Matching more times gives a better fitness |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:13:12 2007 | http://epydoc.sf.net |