Table of Contents

Class: SimpleFinisher Bio/NeuralNetwork/Gene/Schema.py

Determine when we are done evolving motifs.

This takes the very simple approach of halting evolution when the GA has proceeded for a specified number of generations and has a given number of unique schema with positive fitness.

Methods   
__init__
is_finished
  __init__ 
__init__ (
        self,
        num_schemas,
        min_generations=100,
        )

Initialize the finisher with its parameters.

Arguments:

  • num_schemas -- the number of useful (positive fitness) schemas we want to generation

  • min_generations -- The minimum number of generations to allow the GA to proceed.

  is_finished 
is_finished ( self,  organisms )

Determine when we can stop evolving the population.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:11 2002 by HappyDoc version 2.0.1