|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expresser
Defines the operations supported by an "expresser", that is an object that can take a Gene (or Genome) and express that gene(s) in the context of an environment.
Method Summary | |
---|---|
java.util.Collection<Expression> |
express(Colony colony,
Gene... genes)
Express the gene in the context of the environment, potentially resulting in several expressions, each of which may be either a Trait or an
ExPhen . |
Trait |
express(Gene... genes)
Express the genes. |
Pharacter |
getCharacter()
|
java.lang.String |
getComplement(Locus locus,
java.lang.String allele)
Get the complementary allele key, such that isComplementary(Locus, String, String) will be true. |
boolean |
isComplementary(Locus locus,
java.lang.String allele1,
java.lang.String allele2)
|
Method Detail |
---|
java.util.Collection<Expression> express(Colony colony, Gene... genes)
Trait
or an
ExPhen
.
This is the more general form of expression and typically will invoke the
more specific form -- express(Gene...)
-- (colony is ignored and
always returns a Trait
).
This method supports both polygeny (where several genes act together) and
pleiotropy (where one or more genes results in more than one trait).
colony
- (which may be null)genes
- one gene or a set of polygenic genes.
Trait
or an
ExPhen
Trait express(Gene... genes)
genes
-
Trait
Pharacter getCharacter()
java.lang.String getComplement(Locus locus, java.lang.String allele)
isComplementary(Locus, String, String)
will be true.
locus
- allele
-
boolean isComplementary(Locus locus, java.lang.String allele1, java.lang.String allele2)
locus
- allele1
- allele2
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |