|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory
Defines the methods which will instantiate new objects for an evolutionary computation system.
| Method Summary | |
|---|---|
Allele |
makeAllele(Object value)
Factory method to instantiate a new Allele of the appropriate class, with an auto-generated key. |
Allele |
makeAllele(Object value,
Map<String,Object> properties)
Factory method to instantiate a new Allele of the appropriate class, with an auto-generated key. |
Allele |
makeAllele(Object key,
Object value)
Factory method to instantiate a new Allele of the appropriate class. |
Allele |
makeAllele(Object key,
Object value,
Map<String,Object> properties)
Factory method to instantiate a new Allele of the appropriate class. |
Gene |
makeGene(int ode)
Factory method to instantiate a new Gene of the appropriate class. |
Gene |
makeGene(int ode,
Map<String,Object> properties)
Factory method to instantiate a new Gene of the appropriate class. |
Genotype |
makeGenotype(int ode)
Factory method to instantiate a new genotype of the appropriate class. |
Genotype |
makeGenotype(int ode,
Map<String,Object> properties)
Factory method to instantiate a new genotype of the appropriate class. |
Organism |
makeOrganism(Population population,
Genotype genotype)
Factory method to instantiate a new organism of the appropriate class, with a population-specific auto-generated identifier. |
Organism |
makeOrganism(Population population,
Genotype genotype,
Map<String,Object> properties)
Factory method to instantiate a new organism of the appropriate class, with a population-specific auto-generated identifier. |
Organism |
makeOrganism(String identifier,
Population population,
Genotype genotype)
Factory method to instantiate a new organism of the appropriate class. |
Organism |
makeOrganism(String identifier,
Population population,
Genotype genotype,
Map<String,Object> properties)
Factory method to instantiate a new organism of the appropriate class. |
Phenotype |
makePhenotype()
Factory method to instantiate a new phenotype of the appropriate class. |
Phenotype |
makePhenotype(Map<String,Object> properties)
Factory method to instantiate a new phenotype of the appropriate class. |
Trait |
makeTrait(String identifier)
Factory method to instantiate a new Trait of the appropriate class, without an initial value. |
Trait |
makeTrait(String identifier,
Map<String,Object> properties)
Factory method to instantiate a new Trait of the appropriate class, without an initial value. |
Trait |
makeTrait(String identifier,
Object value)
Factory method to instantiate a new Trait of the appropriate class. |
Trait |
makeTrait(String identifier,
Object value,
Map<String,Object> properties)
Factory method to instantiate a new Trait of the appropriate class. |
| Method Detail |
|---|
Allele makeAllele(Object value)
value - the value of the new allele.
Allele makeAllele(Object value,
Map<String,Object> properties)
value - the value of the new allele.properties - a map which specifies any additional properties required at instantation time.
Allele makeAllele(Object key,
Object value)
key - the key of the new allele.value - the value of the new allele.
Allele makeAllele(Object key,
Object value,
Map<String,Object> properties)
key - the key of the new allele.value - the value of the new allele.properties - a map which specifies any additional properties required at instantation time.
Gene makeGene(int ode)
ode - the number of alleles to be found at a particular locus (1 if haploid, 2 if diploid).
Gene makeGene(int ode,
Map<String,Object> properties)
ode - the number of alleles to be found at a particular locus (1 if haploid, 2 if diploid).properties - a map which specifies any additional properties required at instantation time.
Genotype makeGenotype(int ode)
ode - the number of alleles to be found at a particular locus (1 if haploid, 2 if diploid).
Genotype makeGenotype(int ode,
Map<String,Object> properties)
ode - the number of alleles to be found at a particular locus (1 if haploid, 2 if diploid).properties - a map which specifies any additional properties required at instantation time.
Organism makeOrganism(Population population,
Genotype genotype)
population-specific auto-generated identifier.
population - the population into which the new organism will be "born".genotype - the genotype which defines the new organism.
Organism makeOrganism(Population population,
Genotype genotype,
Map<String,Object> properties)
population-specific auto-generated identifier.
population - the population into which the new organism will be "born".genotype - the genotype which defines the new organism.properties - a map which specifies any additional properties required at instantation time.
Organism makeOrganism(String identifier,
Population population,
Genotype genotype)
identifier - the identifier for the new organism.population - the population into which the new organism will be "born".genotype - the genotype which defines the new organism.
Organism makeOrganism(String identifier,
Population population,
Genotype genotype,
Map<String,Object> properties)
identifier - the identifier for the new organism.population - the population into which the new organism will be "born".genotype - the genotype which defines the new organism.properties - a map which specifies any additional properties required at instantation time.
Phenotype makePhenotype()
Phenotype makePhenotype(Map<String,Object> properties)
properties - a map which specifies any additional properties required at instantation time.
Trait makeTrait(String identifier)
identifier - the identifier of the new trait.
Trait makeTrait(String identifier,
Map<String,Object> properties)
identifier - the identifier of the new trait.properties - a map which specifies any additional properties required at instantation time.
Trait makeTrait(String identifier,
Object value)
identifier - the identifier of the new trait.value - the initial value of the new trait.
Trait makeTrait(String identifier,
Object value,
Map<String,Object> properties)
identifier - the identifier of the new trait.value - the initial value of the new trait.properties - a map which specifies any additional properties required at instantation time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||