|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Phenome
Defines the methods for implementations of the Phenome
interface. A
Phenome is the physical (phenotypic) counterpart to the Genomic and forms
part of a Taxon. A Phenome is essentially a list of Traits with their values.
Method Summary | |
---|---|
int |
addCharacter(Pharacter character)
Add a character to this phenome. |
Pharacter |
getCharacter(java.lang.String id)
|
java.util.Collection<java.lang.String> |
getCharacterKeys()
|
java.util.Collection<Pharacter> |
getCharacters()
|
java.lang.Object |
getData()
Method to return the current state of the application-specific data previously set in setData(Object) . |
FitnessEngine |
getFitnessEngine()
Method to get the application-supplied fitness engine for this phenome. |
void |
setData(java.lang.Object data)
Method which can be used to set some application-specific data prior to a expressing a genome as a phenotype. |
int |
size()
|
Method Detail |
---|
int addCharacter(Pharacter character)
character
-
Pharacter getCharacter(java.lang.String id)
id
-
java.util.Collection<java.lang.String> getCharacterKeys()
java.util.Collection<Pharacter> getCharacters()
java.lang.Object getData()
setData(Object)
.
TODO check that we really want to use this mechanism for storing fitness.
FitnessEngine getFitnessEngine()
void setData(java.lang.Object data)
getData()
.
data
- application-specific data.int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |