Package jebl.evolution.characters
Class ContinuousCharacter
- java.lang.Object
-
- jebl.evolution.characters.ContinuousCharacter
-
-
Constructor Summary
Constructors Constructor Description ContinuousCharacter(java.lang.String name, java.lang.String desc)Constructs a basic ContinuousCharacter object with no taxa added yetContinuousCharacter(java.lang.String name, java.lang.String desc, java.util.Set<Taxon> taxa)Constructs a basic ContinuousCharacter object with taxa added
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTaxa(java.util.Set<Taxon> taxa)set the taxa for this character with a previously constructed SetvoidaddTaxon(Taxon taxon)add a taxon with this characterjava.lang.StringgetDesc()return the description of the characterjava.lang.StringgetName()return the name of the characterdoublegetSE(Taxon taxon)java.util.Set<Taxon>getTaxa()get a Setof all the taxa for this character CharacterTypegetType()return the CharacterType of the characterjava.lang.ObjectgetValue(Taxon taxon)get a value for a taxon containing the charactervoidsetDesc(java.lang.String desc)set the description of the charactervoidsetName(java.lang.String name)set the name of the character
-
-
-
Constructor Detail
-
ContinuousCharacter
public ContinuousCharacter(java.lang.String name, java.lang.String desc)Constructs a basic ContinuousCharacter object with no taxa added yet- Parameters:
name- the name of the characterdesc- the description of the character
-
ContinuousCharacter
public ContinuousCharacter(java.lang.String name, java.lang.String desc, java.util.Set<Taxon> taxa)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 Detail
-
setName
public void setName(java.lang.String name)
Description copied from interface:Characterset the name of the character
-
getName
public java.lang.String getName()
Description copied from interface:Characterreturn the name of the character
-
setDesc
public void setDesc(java.lang.String desc)
Description copied from interface:Characterset the description of the character
-
getDesc
public java.lang.String getDesc()
Description copied from interface:Characterreturn the description of the character
-
getType
public CharacterType getType()
Description copied from interface:Characterreturn the CharacterType of the character
-
addTaxa
public void addTaxa(java.util.Set<Taxon> taxa)
set the taxa for this character with a previously constructed Set- Parameters:
taxa- a Setof the taxa containing this character
-
addTaxon
public void addTaxon(Taxon taxon)
Description copied from interface:Characteradd a taxon with this character
-
getValue
public java.lang.Object getValue(Taxon taxon)
Description copied from interface:Characterget a value for a taxon containing the character
-
getSE
public double getSE(Taxon taxon)
- Parameters:
taxon- the taxon for which to get the standard error- Returns:
- double of the standard error for the taxon
-
-