* Reset the iterator to its initial state, clearing intermediate steps, * iterations, and the final output.
()
| 118 | * iterations, and the final output. |
| 119 | */ |
| 120 | reset(): void { |
| 121 | this.intermediateSteps = [] |
| 122 | this.iterations = 0 |
| 123 | this._finalOutputs = undefined |
| 124 | } |
| 125 | |
| 126 | updateIterations(): void { |
| 127 | this.iterations += 1 |