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();
 }
コード例 #2
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();
        }