|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.characters.CharacterStates
mesquite.cont.lib.ContinuousStates
mesquite.cont.lib.ContinuousDistribution
public abstract class ContinuousDistribution
Contains an array of continuous character states for one character, at each of the taxa or nodes See notes under ContinuousData regarding items
| Field Summary |
|---|
| Fields inherited from class mesquite.lib.characters.CharacterStates |
|---|
characterNumber, data, totalCreated |
| Constructor Summary | |
|---|---|
ContinuousDistribution(Taxa taxa)
|
|
| Method Summary | |
|---|---|
CharacterHistory |
adjustHistorySize(Tree tree,
CharacterHistory charStates)
This readjust procedure can be called to readjust the size of storage of states of a character for nodes. |
AdjustableDistribution |
getAdjustableClone()
returns a CharacterDistribution that is adjustable and has the same states |
int |
getNumNodes()
returns number of nodes for which CharacterStates is defined (either terminal taxa, if CharacterDistribution, or all nodes in tree, if CharacterHistory) |
boolean |
hasInapplicable()
Returns whether or not the character has inapplicable codings (gaps) |
boolean |
hasInapplicable(Tree tree,
int node)
Returns whether or not the character has inapplicable codings (gaps) in the taxa of the tree |
boolean |
hasMissing()
Returns whether or not the character has missing (unassigned) data |
boolean |
hasMissing(Tree tree,
int node)
Returns whether or not the character has missing (unassigned) data in the taxa of the tree |
boolean |
isConstant()
Returns whether or not the character is constant (all states are the same) |
boolean |
isConstant(Tree tree,
int node)
Returns whether or not the character is constant (all states are the same) in the taxa of the tree |
| Methods inherited from class mesquite.cont.lib.ContinuousStates |
|---|
firstIsGreater, getCharacterDataClass, getCharacterState, getCharacterState, getDataTypeName, getDefaultModel, getItemName, getItemNumber, getItemReference, getItemReference, getNumItems, getState, getState, getStateClass, isInapplicable, isUnassigned, isUncertain, logStates, statesEqual, toString, userQueryItem |
| Methods inherited from class mesquite.lib.characters.CharacterStates |
|---|
checkIllegalNode, getName, getParentCharacter, getParentData, getTaxa, makeCharacterState, setName, setParentCharacter, setParentData, setTaxa, toExternal, toInternal, toStringWithDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface mesquite.lib.characters.CharacterStatesHolder |
|---|
firstIsGreater, getCharacterDataClass, getCharacterState, getCharacterState, getDefaultModel, getNumTaxa, getParentCharacter, getParentData, getStateClass, getTaxa, isInapplicable, isUnassigned, isUncertain, logStates, statesEqual, toString, toStringWithDetails |
| Methods inherited from interface mesquite.lib.Listable |
|---|
getName |
| Methods inherited from interface mesquite.lib.Renamable |
|---|
setName |
| Constructor Detail |
|---|
public ContinuousDistribution(Taxa taxa)
| Method Detail |
|---|
public int getNumNodes()
CharacterStatesHolder
getNumNodes in interface CharacterStatesHolderpublic boolean hasMissing()
hasMissing in interface CharacterDistributionpublic boolean hasInapplicable()
hasInapplicable in interface CharacterDistribution
public boolean hasMissing(Tree tree,
int node)
hasMissing in interface CharacterDistribution
public boolean hasInapplicable(Tree tree,
int node)
hasInapplicable in interface CharacterDistributionpublic boolean isConstant()
isConstant in interface CharacterDistribution
public boolean isConstant(Tree tree,
int node)
isConstant in interface CharacterDistributionpublic AdjustableDistribution getAdjustableClone()
getAdjustableClone in interface CharacterDistribution
public CharacterHistory adjustHistorySize(Tree tree,
CharacterHistory charStates)
adjustHistorySize in interface CharacterDistribution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||