|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.characters.CharacterStates
mesquite.categ.lib.CategoricalStates
mesquite.categ.lib.CategoricalDistribution
mesquite.categ.lib.CategoricalAdjustable
mesquite.categ.lib.DNACharacterAdjustable
public class DNACharacterAdjustable
| Field Summary |
|---|
| Fields inherited from class mesquite.categ.lib.CategoricalAdjustable |
|---|
numNodes, states |
| Fields inherited from class mesquite.categ.lib.CategoricalStates |
|---|
allStates, enforcedMaxState, extraFrequencies, extraFrequencyColors, extraFrequencyNames, frequencies, maxFound, maxState, minFound, minState |
| Fields inherited from class mesquite.lib.characters.CharacterStates |
|---|
characterNumber, data, totalCreated |
| Constructor Summary | |
|---|---|
DNACharacterAdjustable(Taxa taxa)
|
|
DNACharacterAdjustable(Taxa taxa,
int num)
|
|
| 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. |
long |
fullSet()
Returns full set of allowed states |
long |
getAllStates()
returns the union of all state sets |
java.lang.Class |
getCharacterDataClass()
returns the corresponding CharacterData subclass |
CharacterState |
getCharacterState()
returns blank CharacterState object |
CharacterState |
getCharacterState(CharacterState cs,
int N)
returns CharacterState at node N |
java.lang.String |
getDataTypeName()
returns the name of the type of data stored |
java.lang.Class |
getStateClass()
Indicates the type of character stored |
CategoricalAdjustable |
makeAdjustable(Taxa taxa)
|
java.lang.String |
toString()
returns string describing states at nodes. |
java.lang.String |
toString(int node,
java.lang.String lineEnding)
returns string describing character states at node |
| Methods inherited from class mesquite.categ.lib.CategoricalAdjustable |
|---|
adjustSize, deassignStates, getNumNodes, getNumTaxa, getState, setCharacterState, setState, setStates, setWatchPoint, tradeStatesBetweenTaxa |
| Methods inherited from class mesquite.categ.lib.CategoricalDistribution |
|---|
getAdjustableClone, getMaxState, hasInapplicable, hasInapplicable, hasMissing, hasMissing, hasMultipleStatesInTaxon, hasMultipleStatesInTaxon, isBinary, isBinary, isBinaryCombinable, isBinaryNoMissing, isConstant, isConstant |
| 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, wait, wait, wait |
| Methods inherited from interface mesquite.lib.characters.AdjustableDistribution |
|---|
setParentCharacter, setParentData |
| Methods inherited from interface mesquite.lib.characters.CharacterStatesHolder |
|---|
firstIsGreater, getDefaultModel, getParentCharacter, getParentData, getTaxa, isInapplicable, isUnassigned, isUncertain, logStates, statesEqual, toStringWithDetails |
| Methods inherited from interface mesquite.lib.Listable |
|---|
getName |
| Methods inherited from interface mesquite.lib.Renamable |
|---|
setName |
| Constructor Detail |
|---|
public DNACharacterAdjustable(Taxa taxa)
public DNACharacterAdjustable(Taxa taxa,
int num)
| Method Detail |
|---|
public CharacterState getCharacterState()
getCharacterState in interface CharacterStatesHoldergetCharacterState in class CategoricalStatespublic java.lang.Class getStateClass()
getStateClass in interface CharacterStatesHoldergetStateClass in class CategoricalStatespublic long fullSet()
fullSet in class CategoricalDistribution
public CharacterState getCharacterState(CharacterState cs,
int N)
getCharacterState in interface CharacterStatesHoldergetCharacterState in class CategoricalStatespublic java.lang.Class getCharacterDataClass()
getCharacterDataClass in interface CharacterStatesHoldergetCharacterDataClass in class CategoricalStatespublic java.lang.String getDataTypeName()
getDataTypeName in class CategoricalStatespublic long getAllStates()
getAllStates in class CategoricalStates
public CharacterHistory adjustHistorySize(Tree tree,
CharacterHistory charStates)
adjustHistorySize in interface CharacterDistributionadjustHistorySize in class CategoricalDistribution
public java.lang.String toString(int node,
java.lang.String lineEnding)
toString in interface CharacterStatesHoldertoString in class CategoricalStatespublic java.lang.String toString()
toString in class CategoricalStatespublic CategoricalAdjustable makeAdjustable(Taxa taxa)
makeAdjustable in class CategoricalDistribution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||