com.rubecula.darwin.domain.helper
Interface Realm

All Superinterfaces:
HasPhenotypeCache
All Known Implementing Classes:
Realm_, Realm_Wallacian

public interface Realm
extends HasPhenotypeCache

Interface which defines the concept of the "model" which is undergoing evolution. Realm/model is loosely defined as all of the genetic and phenotypic information as well as all of the populations, environments, etc. The realm/model does not directly undergo evolution but Taxons and populations do. TODO consider adding methods to keep lists of the populations and environments belonging to a realm (instead of the taxon keeping the populations and nothing at all keeping track of environments). TODO consider making Realm implement Evolver and have it be the one and only evolver for the Evolution bean, thus the getEvolvables method would be part of the realm, not part of the Evolution bean. Here follow some further to do items, which are more general in nature but which need a place for them to be recorded in the source. Since every application based on Darwin must have a realm, we put them here. TODO Fix general packaging/architectural issues, as reported by SonarJ TODO implement gene switching TODO Have more beans implement HasExpressions and get rid of the specific code for mating, etc. TODO get rid of the use of properties (other than for language) -- everything should be configured in the configuration file.

Author:
Robin Hillyard

Method Summary
 void flushCaches()
           
 FitnessCache getFitnessCache()
           
 
Methods inherited from interface com.rubecula.darwin.domain.helper.HasPhenotypeCache
getPhenotypeCache
 

Method Detail

flushCaches

void flushCaches()

getFitnessCache

FitnessCache getFitnessCache()
Returns:
the fitness cache for this realm.


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