com.rubecula.darwin.foundation
Interface Generational

All Known Subinterfaces:
Evolvable, Population, Taxon
All Known Implementing Classes:
Evolvable_, Population_, Population_Malthusian, Population_Managed, Population_TS, Taxon_, Taxon_Darwinian

public interface Generational

This interface defines the operation which triggers a new generation for an object that can undergo successive generations. It is normally implemented by objects which are subsidiary to the object driving the evolution. So, for example, Population implements Generational but a Taxon implements the full Evolvable interface (which in turn extends this interface).

Author:
Robin Hillyard

Method Summary
 boolean nextGeneration()
          Mutating method to invoke the next generation of a Evolvable object.
 

Method Detail

nextGeneration

boolean nextGeneration()
Mutating method to invoke the next generation of a Evolvable object. This is where all the actual work is done.

Returns:
true if the operation was successful. If the result is false, then something has gone wrong and the application should not expect subsequent generations to behave sensibly.


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.