예제 #1
0
 public TheUberfullessnessAi()
     : base(
         StrategyName.ForSetup <NopSetupStrategy>(),
         StrategyName.For <LochDinicKillerStrategy>(),
         StrategyName.ForEWStrategy <AllComponentsEWStrategy, MineGuardianEdgeWeighter>(),
         StrategyName.ForEWStrategy <AllComponentsEWStrategy, MaxVertextWeighter>())
 {
 }
 public LochDinicKillerUberAi()
     : base(
         StrategyName.ForSetup <NopSetupStrategy>(),
         StrategyName.For <LochDinicKillerStrategy>(),
         StrategyName.For <NopStrategy>(),
         StrategyName.ForEWStrategy <AllComponentsEWStrategy, MaxVertextWeighter>())
 {
 }
 public FutureIsNowUberAi()
     : base(
         StrategyName.ForSetup <FutureIsNowSetupStrategy>(),
         StrategyName.For <FutureIsNowStrategy>(),
         StrategyName.For <NopStrategy>(),
         StrategyName.ForEWStrategy <AllComponentsEWStrategy, MaxVertextWeighter>())
 {
 }
        private static string BuildName(string setup, string debut, string helper, string mittelspiel)
        {
            var name = "";

            if (setup != StrategyName.ForSetup <NopSetupStrategy>())
            {
                name += setup;
            }
            if (debut != StrategyName.For <NopStrategy>())
            {
                name += debut;
            }
            if (helper != StrategyName.For <NopStrategy>())
            {
                name += helper;
            }
            if (mittelspiel != StrategyName.For <NopStrategy>())
            {
                name += mittelspiel;
            }
            return(name + "UberAi");
        }