Example #1
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 /// <runtime>O(n * step)</runtime>
 public void Stepper(StepRef <T> step) =>
 StepperRef <StepRefRuntime <T> >(step);
Example #2
0
 public void Stepper(StepRef <T, T> function)
 {
     throw new System.NotImplementedException();
 }
Example #3
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _queue.Stepper(step, 0, _count);
Example #4
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _list.Stepper(step, 0, _count);
Example #5
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step_delegate">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step_delegate)
 {
     Stepper(step_delegate, this._root);
 }
Example #6
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _heap.Stepper(step, 1, _count + 1);
Example #7
0
 /// <summary>Does an optimized step function (right to left) for sorted binary search trees.</summary>
 /// <param name="step">The step function.</param>
 /// <param name="minimum">The minimum step value.</param>
 /// <param name="maximum">The maximum step value.</param>
 public void StepperReverse(StepRef <T> step, T minimum, T maximum)
 {
     throw new System.NotImplementedException();
 }
Example #8
0
 /// <summary>Invokes a delegate for each entry in the data structure (right to left).</summary>
 /// <param name="step_delegate">The delegate to invoke on each item in the structure.</param>
 public void StepperReverse(StepRef <T> step_delegate)
 {
     this.StepperReverse(step_delegate, this._root);
 }
Example #9
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step)
 {
     throw new NotImplementedException();
 }
Example #10
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _heap.Stepper(1, _count + 1, step);
Example #11
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _array.Stepper(step, 0, _count);