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 TypeMethodDescriptionvoid
set the taxa for this character with a previously constructed Setvoid
add a taxon with this charactergetDesc()
return the description of the charactergetName()
return the name of the characterdouble
getTaxa()
get a Setof all the taxa for this character getType()
return the CharacterType of the characterget a value for a taxon containing the charactervoid
set the description of the charactervoid
set 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:Character
set the name of the character -
getName
Description copied from interface:Character
return the name of the character -
setDesc
Description copied from interface:Character
set the description of the character -
getDesc
Description copied from interface:Character
return the description of the character -
getType
Description copied from interface:Character
return 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:Character
add a taxon with this character -
getValue
Description copied from interface:Character
get 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:Character
get a Setof all the taxa for this character
-