示例#1
0
 /// <summary>
 /// Initialize a new progressive search for the specified tree.
 /// </summary>
 internal ProgressiveSearch(TreeSearch <TKey, TValue> _tree)
 {
     _current = _root = _tree._root;
 }
示例#2
0
 /// <summary>
 /// Initialize a new dynamic search for the specified tree.
 /// </summary>
 internal DynamicSearch(TreeSearch <TKey, TValue> _tree)
 {
     _root    = _tree._root;
     Branches = new Queue <Branch>();
     Values   = new ArrayRig <TValue>();
 }