public TheoricalProbability(DynamicSituation dynamicSituation, string filename) { currentSituation = dynamicSituation; resultPrinter = new ResultPrinter(filename, DataType.HEATMAP); totalProbability = 0; }
public void Run(int repetition) { for (int i = 0; i < repetition; i++) { DynamicSituation dynamicSituation = situationBuilder.CreateSituation(); resultManager.updateSituation(dynamicSituation); resultManager.setup(); dynamicSituation.Play(); } Console.WriteLine("Data Calculation complete!"); resultManager.computeResult(); Console.WriteLine("Print complete!"); }
public override void updateSituation(DynamicSituation newSituation) { Console.WriteLine("Vous ne pouvez pas update la situation dynamic d'un outils théorique!"); }
public abstract void updateSituation(DynamicSituation newSituation);
public override void updateSituation(DynamicSituation newSituation) { currentSituation = newSituation; }