|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.characters.MCharactersStates
mesquite.categ.lib.MCategoricalStates
mesquite.categ.lib.MCategoricalDistribution
mesquite.categ.lib.MCategoricalAdjustable
mesquite.categ.lib.MCategoricalHistory
public class MCategoricalHistory
DOCUMENT
| Field Summary |
|---|
| Fields inherited from class mesquite.categ.lib.MCategoricalStates |
|---|
extraFrequencies, frequencies |
| Fields inherited from class mesquite.lib.characters.MCharactersStates |
|---|
data, totalCreated |
| Constructor Summary | |
|---|---|
MCategoricalHistory(Taxa taxa,
int numChars,
int numNodes)
|
|
| Method Summary | |
|---|---|
long |
getAllStates()
returns the union of all state sets |
CharacterHistory |
getCharacterHistory(int ic)
extract the states of character ic and return as CharacterHistory |
int |
getNumNodes()
returns number of nodes for which MCharactersStates is defined (either terminal taxa, if MCharactersDistribution, or all nodes in tree, if MCharactersHistory) |
void |
transferFrom(int ic,
CharacterHistory s)
obtain states of character ic from passed CharacterHistory object |
| Methods inherited from class mesquite.categ.lib.MCategoricalAdjustable |
|---|
deassignStates, getAnnotation, getCharacterDistribution, getNumChars, getNumTaxa, getState, makeCharacterData, setAnnotation, setCharacterState, setParentData, setSize, setState, tradeStatesBetweenTaxa, transferFrom |
| Methods inherited from class mesquite.categ.lib.MCategoricalDistribution |
|---|
adjustHistorySize, getStateRaw, makeBlankAdjustable |
| Methods inherited from class mesquite.lib.characters.MCharactersStates |
|---|
checkIllegalNode, getBasisTree, getName, getParentData, getTaxa, isCurrentlyIncluded, matrixToString, setBasisTree, setName, setTaxa |
| 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.MAdjustableDistribution |
|---|
deassignStates, setCharacterState, setParentData, setSize, setTaxa, tradeStatesBetweenTaxa, transferFrom |
| Methods inherited from interface mesquite.lib.characters.MCharactersDistribution |
|---|
adjustHistorySize, getBasisTree, getCharacterDistribution, makeBlankAdjustable, makeCharacterData, setBasisTree |
| Methods inherited from interface mesquite.lib.characters.MCharactersStatesHolder |
|---|
getCharacterDataClass, getCharacterState, getDataTypeName, getNumChars, getNumTaxa, getParentData, getStateClass, getTaxa, isCurrentlyIncluded |
| Methods inherited from interface mesquite.lib.Listable |
|---|
getName |
| Methods inherited from interface mesquite.lib.Renamable |
|---|
setName |
| Methods inherited from interface mesquite.lib.Annotatable |
|---|
getAnnotation, setAnnotation |
| Constructor Detail |
|---|
public MCategoricalHistory(Taxa taxa,
int numChars,
int numNodes)
| Method Detail |
|---|
public int getNumNodes()
MCharactersStatesHolder
getNumNodes in interface MCharactersStatesHoldergetNumNodes in class MCharactersStatespublic CharacterHistory getCharacterHistory(int ic)
getCharacterHistory in interface MCharactersHistory
public void transferFrom(int ic,
CharacterHistory s)
transferFrom in interface MCharactersHistorypublic long getAllStates()
getAllStates in class MCategoricalStates
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||