reset method

void reset()

Reset the simulation.

Implementation

void reset() {
  _currentIteration = 0;
  _temperature = math.sqrt(width * height) / 10;
  _initialize();
}