示例#1
0
文件: Program.cs 项目: FoKycHuK/CVARC
        static void Main(string[] args)
        {
            Environment.CurrentDirectory = @"D:\itplanetfinal\data";

            new SolutionsExtracter().Extract(new DirectoryInfo("D:\\itplanetfinal\\solutions"));
            new SolutionsExtracter().Control(new DirectoryInfo("D:\\itplanetfinal\\solutions"));
            new SolutionsExtracter().Print();
            new TournamentVerifier().VerifyAndSave("Final");
            TournamentVerifier.Print();
            new GroupCompetitionPlanner().Plan(
                GetLevel3GameSettings(),
                new[] { 6, 6, 7 },
                GetLevel3WorldStates(),
                142);
            using (var wr = new StreamWriter("groups.txt"))
                GroupCompetitionPlanner.Show(wr);
        }
示例#2
0
文件: Program.cs 项目: FoKycHuK/CVARC
        static void SomeOld(string[] args)
        {
            Environment.CurrentDirectory = @"C:\Solutions\commandFolder";
            //new GroupCompetitionPlanner().Plan(
            //    GetLevel3GameSettings(),
            //    Enumerable.Range(0, 9).Select(z => 5).ToArray(),
            //    GetLevel3WorldStates(),
            //    142);
            //using (var wr = new StreamWriter("groups.txt"))
            //    GroupCompetitionPlanner.Show(wr);


            using (var wr = new StreamWriter("groupResult.txt"))
                GroupCompetitionPlanner.ShowResults(wr);

            using (var wr = new StreamWriter("totalResult.txt"))
                GroupCompetitionPlanner.ShowGroupedResults(wr);
        }