예제 #1
0
파일: List.cs 프로젝트: HurricanKai/Towel
 /// <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);
예제 #2
0
 public void Stepper(StepRef <T, T> function)
 {
     throw new System.NotImplementedException();
 }
예제 #3
0
파일: Queue.cs 프로젝트: Thaina/Towel
 /// <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);
예제 #4
0
파일: List.cs 프로젝트: chinayestyle/Towel
 /// <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);
예제 #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);
 }
예제 #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);
예제 #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();
 }
예제 #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);
 }
예제 #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();
 }
예제 #10
0
파일: Heap.cs 프로젝트: pfriesch/Towel
 /// <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);
예제 #11
0
파일: Stack.cs 프로젝트: chinayestyle/Towel
 /// <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);