|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmesquite.lib.characters.MCharactersStates
mesquite.cont.lib.MContinuousStates
public abstract class MContinuousStates
A class for an array of continuous character states for many characters, at each of the taxa or nodes.
| Field Summary |
|---|
| Fields inherited from class mesquite.lib.characters.MCharactersStates |
|---|
data |
| Constructor Summary | |
|---|---|
MContinuousStates(Taxa taxa)
|
|
| Method Summary | |
|---|---|
boolean |
allCombinable()
|
boolean |
allCombinable(int item)
|
java.lang.Class |
getCharacterDataClass()
returns the corresponding CharacterData subclass |
CharacterState |
getCharacterState(CharacterState cs,
int ic,
int it)
get CharacterState at node N |
java.lang.String |
getDataTypeName()
returns the name of the type of data stored |
long |
getID()
|
abstract Double2DArray |
getItem(int index)
|
abstract java.lang.String |
getItemName(int index)
|
abstract int |
getItemNumber(NameReference nr)
|
NameReference |
getItemReference(int n)
|
NameReference |
getItemReference(java.lang.String name)
|
double[][] |
getMatrix(int index)
|
abstract int |
getNumberOfItems()
|
int |
getNumItems()
|
abstract double |
getState(int ic,
int it)
returns state of character ic in taxon/node it |
abstract double |
getState(int ic,
int it,
int item)
returns state of item item of character ic in taxon/node it |
java.lang.Class |
getStateClass()
Indicates the type of character stored |
java.lang.String |
toString()
|
int |
userQueryItem(java.lang.String message,
MesquiteModule module)
|
| Methods inherited from class mesquite.lib.characters.MCharactersStates |
|---|
checkIllegalNode, getBasisTree, getName, getNumNodes, getParentData, getTaxa, isCurrentlyIncluded, matrixToString, setBasisTree, setName, setTaxa |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mesquite.lib.characters.MCharactersStatesHolder |
|---|
getNumChars, getNumTaxa |
| Constructor Detail |
|---|
public MContinuousStates(Taxa taxa)
| Method Detail |
|---|
public long getID()
public java.lang.Class getStateClass()
getStateClass in interface MCharactersStatesHoldergetStateClass in class MCharactersStatespublic java.lang.Class getCharacterDataClass()
getCharacterDataClass in interface MCharactersStatesHolderpublic java.lang.String getDataTypeName()
getDataTypeName in interface MCharactersStatesHoldergetDataTypeName in class MCharactersStates
public abstract double getState(int ic,
int it)
public abstract double getState(int ic,
int it,
int item)
public abstract Double2DArray getItem(int index)
public double[][] getMatrix(int index)
public int userQueryItem(java.lang.String message,
MesquiteModule module)
public abstract java.lang.String getItemName(int index)
getItemName in interface ItemContainerpublic abstract int getItemNumber(NameReference nr)
getItemNumber in interface ItemContainerpublic abstract int getNumberOfItems()
public int getNumItems()
getNumItems in interface ItemContainerpublic boolean allCombinable()
public boolean allCombinable(int item)
public NameReference getItemReference(int n)
getItemReference in interface ItemContainerpublic NameReference getItemReference(java.lang.String name)
getItemReference in interface ItemContainer
public CharacterState getCharacterState(CharacterState cs,
int ic,
int it)
getCharacterState in interface MCharactersStatesHoldergetCharacterState in class MCharactersStatespublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||