public OptimalWinningStrategyCalculationAlgorithm(ITestGraph testGraph)
 {
     if (testGraph == null)
     {
         throw new ArgumentNullException("testGraph");
     }
     this.testGraph = testGraph;
 }
Пример #2
0
 public OptimalWinningStrategyCalculationAlgorithm(
     ITestGraph testGraph)
 {
     if (testGraph == null)
     {
         throw new ArgumentNullException("testGraph");
     }
     this.testGraph = testGraph;
 }
 public ReachabilityStrategyCalculationAlgorithm(ITestGraph testGraph, IStrategy strategy)
 {
     if (this.testGraph == null)
     {
         throw new ArgumentNullException("testGraph");
     }
     this.testGraph = testGraph;
     this.strategy = new QuickGraph.Algorithms.TestGames.Strategy();
     this.performanceComparer = new PairPreOrderPerformanceComparer();
 }
Пример #4
0
        public ReachabilityStrategyCalculationAlgorithm(
            ITestGraph testGraph,
            IStrategy strategy
            )
        {
            if (this.testGraph == null)
            {
                throw new ArgumentNullException("testGraph");
            }

            this.testGraph           = testGraph;
            this.strategy            = new Strategy();
            this.performanceComparer = new PairPreOrderPerformanceComparer();
        }