|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PPMNode | |
---|---|
pt.tumba.ngram.compression | Implementation of the compression-based classification technique described in the papers "Towards Parameter-Free Data Mining" and "The Similarity Metric", respectivelly by Ming Li and Keogh et al. |
Uses of PPMNode in pt.tumba.ngram.compression |
---|
Fields in pt.tumba.ngram.compression declared as PPMNode | |
---|---|
private PPMNode |
PPMModel._contextNode
Current context node. |
private PPMNode[] |
PPMModel._contexts
Nodes at depth 1 in the model. |
(package private) PPMNode |
PPMNode._firstChild
The first child of this node. |
(package private) PPMNode |
PPMNode._nextSibling
The next sibling of this node. |
private PPMNode |
PPMModel._rootNode
Root of the trie structure of counts. |
Methods in pt.tumba.ngram.compression that return PPMNode | |
---|---|
private static PPMNode |
PPMModel.lookup(PPMNode node,
byte[] bytes,
int offset,
int length)
Looks up a node from the given bytes, offset and length starting from the specified node. |
private PPMNode |
PPMModel.lookupNode(int contextLength)
Returns node from the current byte buffer of the specified context length, or null if there isn't one. |
PPMNode |
PPMNode.prune()
Prunes this node and its children, returning null if
the node's count is too low and pruning all children with counts
too low. |
private PPMNode |
PPMNode.pruneSiblings()
Prunes the siblings of this node, returning the next sibling or null if there aren't any. |
private PPMNode |
PPMNode.rescaleSiblings()
Rescale the counts on this node and the siblings of this node. |
Methods in pt.tumba.ngram.compression with parameters of type PPMNode | |
---|---|
private static PPMNode |
PPMModel.lookup(PPMNode node,
byte[] bytes,
int offset,
int length)
Looks up a node from the given bytes, offset and length starting from the specified node. |
Constructors in pt.tumba.ngram.compression with parameters of type PPMNode | |
---|---|
PPMNode(byte b,
PPMNode nextSibling)
Construct a node with the specified byte and next sibling. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |