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();
        }