|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Pattern
An interface representing a list of states for a list of taxa.
Method Summary | |
---|---|
int |
getLength()
|
State |
getMostFrequentState()
Returns the most frequent state in this pattern |
SequenceType |
getSequenceType()
|
State |
getState(int index)
Get the state for the ith taxon |
double |
getStateFrequency(State state)
Returns the frequent of the given state in this pattern |
List<State> |
getStates()
|
Set<State> |
getStateSet()
|
List<Taxon> |
getTaxa()
|
double |
getWeight()
Get the weight of this pattern |
Method Detail |
---|
SequenceType getSequenceType()
int getLength()
List<Taxon> getTaxa()
State getState(int index)
index
-
List<State> getStates()
Set<State> getStateSet()
double getWeight()
State getMostFrequentState()
double getStateFrequency(State state)
state
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |