예제 #1
0
 public PrefixTree(IPrefixTreeContext <T> context)
 {
     _context = context;
     _root    = new PrefixTreeNode <T>(_id++, _context.AlphabetSize);
 }
예제 #2
0
 public void SetChild(int index, PrefixTreeNode <T> child)
 {
     _children[index] = child;
 }