Package jebl.evolution.characters
Class ContinuousCharacter
java.lang.Object
jebl.evolution.characters.ContinuousCharacter
- All Implemented Interfaces:
Character
- Author:
- Stephen A. Smith
-
Constructor Summary
ConstructorsConstructorDescriptionContinuousCharacter(String name, String desc) Constructs a basic ContinuousCharacter object with no taxa added yetContinuousCharacter(String name, String desc, Set<Taxon> taxa) Constructs a basic ContinuousCharacter object with taxa added -
Method Summary
Modifier and TypeMethodDescriptionvoidset the taxa for this character with a previously constructed Setvoidadd a taxon with this charactergetDesc()return the description of the charactergetName()return the name of the characterdoublegetTaxa()get a Setof all the taxa for this character getType()return the CharacterType of the characterget a value for a taxon containing the charactervoidset the description of the charactervoidset the name of the character
-
Constructor Details
-
ContinuousCharacter
Constructs a basic ContinuousCharacter object with no taxa added yet- Parameters:
name- the name of the characterdesc- the description of the character
-
ContinuousCharacter
Constructs a basic ContinuousCharacter object with taxa added- Parameters:
name- the name of the characterdesc- the description of the charactertaxa- the Setcontaining the taxa
-
-
Method Details
-
setName
Description copied from interface:Characterset the name of the character -
getName
Description copied from interface:Characterreturn the name of the character -
setDesc
Description copied from interface:Characterset the description of the character -
getDesc
Description copied from interface:Characterreturn the description of the character -
getType
Description copied from interface:Characterreturn the CharacterType of the character -
addTaxa
set the taxa for this character with a previously constructed Set- Parameters:
taxa- a Setof the taxa containing this character
-
addTaxon
Description copied from interface:Characteradd a taxon with this character -
getValue
Description copied from interface:Characterget a value for a taxon containing the character -
getSE
- Parameters:
taxon- the taxon for which to get the standard error- Returns:
- double of the standard error for the taxon
-
getTaxa
Description copied from interface:Characterget a Setof all the taxa for this character
-