Esempio n. 1
0
 /// <summary>
 /// Initialize a new progressive search for the specified tree.
 /// </summary>
 internal ProgressiveSearch(PatternSearch <TKey, TValue> tree)
 {
     _current = _root = tree._root;
 }
Esempio n. 2
0
 /// <summary>
 /// Initialize a new dynamic search for the specified tree.
 /// </summary>
 internal DynamicSearch(PatternSearch <TKey, TValue> tree)
 {
     _root     = tree._root;
     _branches = new Queue <Branch>();
     Values    = new ArrayRig <TValue>();
 }