Ejemplo n.º 1
0
 // Kopírovací konštruktor.
 public DataForUpdate(DataForUpdate othr)
 {
     this.meanValue     = othr.meanValue;
     this.probability   = othr.probability;
     this.redrawGraphs  = othr.redrawGraphs;
     this.strategyMoves = othr.strategyMoves;
     this.maxValue      = othr.maxValue;
     this.minValue      = othr.minValue;
 }
Ejemplo n.º 2
0
 // Metóda resetuje simuláciu a hodnoty potrebné pre nový beh simulácie.
 public void ResetSimulation()
 {
     lastDataForUpdate = new DataForUpdate();
     this._simulation.Reset();
     this.PauseClicked = false;
 }