|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tostring0.AToString com.rubecula.darwin.domain.environment.Environment_ com.rubecula.darwin.examples.pepperedmoth.Environment_PepperedMoth
public final class Environment_PepperedMoth
This class provides an implementation of the Environment
interface
for the peppered moth example. It expects one eco factor, of type:
EcoFactor_SootDensity
.
Field Summary | |
---|---|
static int |
$MaxSootDensity
This defines the range of soot density values: 0 through 10. |
Fields inherited from class com.rubecula.darwin.domain.environment.Environment_ |
---|
idealPopulation, LOG |
Fields inherited from interface com.rubecula.darwin.domain.helper.Environment |
---|
IDEAL_POPULATION_DEFAULT, S_ID_UNIDENTIFIED |
Fields inherited from interface net.sf.tostring0.IToString |
---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
Constructor Summary | |
---|---|
Environment_PepperedMoth(java.lang.String identifier,
Realm realm)
|
Method Summary | |
---|---|
void |
init()
Log the soot value. |
Methods inherited from class com.rubecula.darwin.domain.environment.Environment_ |
---|
addFactor, addListener, censusMe, clone, environmentChanged, equals, factorKeys, fireEnvironmentChanged, getCensusibleChildren, getCount, getEcoFactorValue, getEcoSystem, getFactor, getIdealPopulation, getIdentifier, getIndividuals, getListeners, getRealm, getSignature, getSink, hashCode, setEcoSystem, setIdealPopulation, setListeners, setSink, update |
Methods inherited from class net.sf.tostring0.AToString |
---|
toString, toString, toStringBrief, toStringId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int $MaxSootDensity
Constructor Detail |
---|
public Environment_PepperedMoth(java.lang.String identifier, Realm realm)
identifier
- the identifier for this environment.realm
- the environment factoryMethod Detail |
---|
public void init()
Environment.init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |