public InitData(FictitiousPlayMc solver) { int playersCount = solver._at.PlayersCount; AtChildrenIndex = new UFTreeChildrenIndex(solver._at); CreatePlayerCt(solver.CardCount); RoundsCount = solver.CardCount.Length; }
public static void Show(FictitiousPlayMc solver, int position, string fileName) { using (TextWriter w = new StreamWriter(File.Open(fileName, FileMode.Create))) { Vis vis = new Vis { Output = w, Solver = solver, Position = position }; vis.Show(solver._pt); } }