|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Environment | |
---|---|
com.rubecula.darwin.domain.environment | |
com.rubecula.darwin.domain.fitness | Math |
com.rubecula.darwin.domain.helper | Darwin |
com.rubecula.darwin.domain.world | Darwin |
com.rubecula.darwin.examples.pepperedmoth | Peppered Moth Example |
com.rubecula.darwin.examples.travelingsalesman | Traveling Salesman Example |
Uses of Environment in com.rubecula.darwin.domain.environment |
---|
Classes in com.rubecula.darwin.domain.environment that implement Environment | |
---|---|
class |
Environment_
Abstract class defining base methods which implement Environment
interface. |
class |
Environment_Susceptible
Abstract class for an Environment which is Susceptible to
extended-phenotype-invoked changes. |
Methods in com.rubecula.darwin.domain.environment that return Environment | |
---|---|
Environment |
EcoFactor_.getEnvironment()
|
Methods in com.rubecula.darwin.domain.environment with parameters of type Environment | |
---|---|
void |
EnvironmentListener_Writer.onEnvironmentChange(Environment env)
print a message on the EnvironmentListener_Writer._writer . |
void |
EcoFactor_.setEnvironment(Environment environment)
|
Constructors in com.rubecula.darwin.domain.environment with parameters of type Environment | |
---|---|
EnvironmentChangeEvent(Environment environment,
java.lang.String factorKey,
java.lang.Object factorValue)
|
Uses of Environment in com.rubecula.darwin.domain.fitness |
---|
Methods in com.rubecula.darwin.domain.fitness with parameters of type Environment | |
---|---|
double |
FitnessEngine_.calculateFitness(Phenotype phenotype,
Environment environment)
The base implementation of this method (which should normally be appropriate for all usage) simply goes through all possible pairings of trait/ecofactor (the traits belonging to the phenotype and the ecofactors belonging to the environment) and calculates the weighted product of all fitnesses. |
void |
FitnessEngine_.onEnvironmentChange(java.util.Collection<java.lang.String> characterKeys,
Environment environment)
The base implementation of this method (which should normally be appropriate for all usage) simply goes through all possible pairings of trait/ecofactor (from the given traits and the ecofactors belonging to the environment) and gets the appropriate setup. |
Uses of Environment in com.rubecula.darwin.domain.helper |
---|
Methods in com.rubecula.darwin.domain.helper that return Environment | |
---|---|
Environment |
EcoFactor.getEnvironment()
|
Environment |
Colony.getEnvironment()
Method to get the environment in which this colony thrives. |
Methods in com.rubecula.darwin.domain.helper with parameters of type Environment | |
---|---|
void |
FitnessCache.addFitness(TraitMap traits,
FitnessEngine fitnessEngine,
Environment environment,
java.lang.Double fitness)
|
double |
FitnessEngine.calculateFitness(Phenotype phenotype,
Environment environment)
|
void |
FitnessCache.flush(TraitMap traits,
FitnessEngine engine,
Environment environment)
Flush the cache for the given combination of traits/engine. |
java.lang.Double |
FitnessCache.getFitness(TraitMap traits,
FitnessEngine fitnessEngine,
Environment environment)
|
void |
Organism.normalizeGenome(Genome referenceGenome,
java.util.Map<java.lang.String,Genome> cache,
Environment environment)
|
void |
FitnessEngine.onEnvironmentChange(java.util.Collection<java.lang.String> characterKeys,
Environment environment)
The base implementation of this method (which should normally be appropriate for all usage) simply goes through all possible pairings of trait/ecofactor (from the given traits and the ecofactors belonging to the environment) and gets the appropriate setup. |
void |
EnvironmentListener.onEnvironmentChange(Environment env)
This method is called on a environment listener to notify it that the environment p has changed. |
void |
EcoFactor.setEnvironment(Environment environment)
|
Constructors in com.rubecula.darwin.domain.helper with parameters of type Environment | |
---|---|
FitnessCacheKey(TraitMap traits,
FitnessEngine engine,
Environment environment)
|
Uses of Environment in com.rubecula.darwin.domain.world |
---|
Classes in com.rubecula.darwin.domain.world that implement Environment | |
---|---|
class |
Environment_Muirian
Lifespan: permanent. |
Fields in com.rubecula.darwin.domain.world declared as Environment | |
---|---|
protected Environment |
Colony_._environment
The environment in which this population exists. |
Methods in com.rubecula.darwin.domain.world that return Environment | |
---|---|
Environment |
Colony_.getEnvironment()
|
Methods in com.rubecula.darwin.domain.world with parameters of type Environment | |
---|---|
protected abstract boolean |
Population_Managed.isEnvironmentStable(Environment env)
|
protected abstract int |
Population_Managed.makeDaughterColonies(Colony founderColony,
Environment founderEnvironment)
|
void |
Organism_.normalizeGenome(Genome referenceGenome,
java.util.Map<java.lang.String,Genome> cache,
Environment environment)
TODO consider adding this to the Organism interface. |
void |
Organism_.onEnvironmentChange(Environment env)
flush the fitness cache completely. |
void |
Colony_.onEnvironmentChange(Environment env)
|
protected abstract java.lang.String |
Population_Managed.showEnvironment1(Environment environment)
|
protected abstract java.lang.String |
Population_Managed.showEnvironment2(Environment environment)
|
Constructors in com.rubecula.darwin.domain.world with parameters of type Environment | |
---|---|
Colony_(java.lang.String identifier,
Environment environment,
org.apache.commons.math.random.RandomGenerator random)
|
|
Colony_Mayrian(java.lang.String identifier,
Environment environment,
org.apache.commons.math.random.RandomGenerator random)
|
Uses of Environment in com.rubecula.darwin.examples.pepperedmoth |
---|
Classes in com.rubecula.darwin.examples.pepperedmoth that implement Environment | |
---|---|
class |
Environment_PepperedMoth
This class provides an implementation of the Environment interface
for the peppered moth example. |
Methods in com.rubecula.darwin.examples.pepperedmoth with parameters of type Environment | |
---|---|
void |
EnvironmentListener_PepperedMoth.onEnvironmentChange(Environment env)
TEST Method which reacts to changes in the environment and which updates the visualization model. |
Uses of Environment in com.rubecula.darwin.examples.travelingsalesman |
---|
Classes in com.rubecula.darwin.examples.travelingsalesman that implement Environment | |
---|---|
class |
Environment_TS
|
Methods in com.rubecula.darwin.examples.travelingsalesman with parameters of type Environment | |
---|---|
static Client[] |
Phenotype_TS.getClients(Environment environment)
TODO move this somewhere (it isn't related to Phenotype) |
Client[] |
Phenotype_TS.getClientsInOrder(Environment environment)
|
static java.lang.String[] |
Phenotype_TS.getNames(Environment environment)
TODO move this somewhere (it isn't related to Phenotype) |
protected boolean |
Population_TS.isEnvironmentStable(Environment environment)
|
protected int |
Population_TS.makeDaughterColonies(Colony founderColony,
Environment founderEnvironment)
In this implementation, we get the client map from the founderEnvironment eco factor called EcoFactor_Clients.FACTOR_CLIENTS . |
protected java.lang.String |
Population_TS.showEnvironment1(Environment environment)
|
protected java.lang.String |
Population_TS.showEnvironment2(Environment environment)
|
Constructors in com.rubecula.darwin.examples.travelingsalesman with parameters of type Environment | |
---|---|
ClientMap(Environment environment)
Primary Constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |