コード例 #1
0
            public InitData(FictitiousPlayMc solver)
            {
                int playersCount = solver._at.PlayersCount;

                AtChildrenIndex = new UFTreeChildrenIndex(solver._at);
                CreatePlayerCt(solver.CardCount);
                RoundsCount = solver.CardCount.Length;
            }
コード例 #2
0
 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);
     }
 }