Class PPMTree
java.lang.Object
PPMTree
class PPMTree
- extends Object
Substring frequency tree
Constructor Summary |
PPMTree(int maxContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeCount
private int nodeCount
root
public PPMTreeNode root
totalCounts
public int[] totalCounts
PPMTree
public PPMTree(int maxContext)
addNodes
public void addNodes(int[] str)
find
public PPMTreeNode find(int[] str)
increment
public void increment(int[] str)
getCount
public int getCount(int[] str)
throws Exception
- Throws:
Exception
getTotalCount
public int getTotalCount(int context)
Copyright © 2007 Aija Niissalo, Marko Laakso, Markus Heinonen.