|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.symbol.SuffixTree.SuffixNode
public abstract static class SuffixTree.SuffixNode
A node in the suffix tree.
This class is realy stupid & delegates most work off to a SuffixTree so that it is as small (in memory-per-object terms) as possible.
| Constructor Summary | |
|---|---|
SuffixTree.SuffixNode()
|
|
| Method Summary | |
|---|---|
abstract float |
getNumber()
Return a number (usually, but not always, a motif count) associated with this node of the tree. |
abstract boolean |
hasChild(int i)
Determine if this node has a child corresponding to a given index number. |
abstract boolean |
isTerminal()
Determine is this node is terminal (has no children). |
abstract void |
setNumber(float n)
Set the number associated with this node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuffixTree.SuffixNode()
| Method Detail |
|---|
public abstract boolean isTerminal()
true if and only if this node has no children.public abstract boolean hasChild(int i)
public abstract float getNumber()
public abstract void setNumber(float n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||