Пример #1
0
 public ForcingRouteCalculator(IEnumerable <IPlatformModule> modules, ModuleGraph graph, ILogger logger)
     : base(modules, graph, logger)
 {
     Logger             = logger;
     CurrentForcedPorts = new Dictionary <IPlatformModule, HashSet <int> >();
     Initialize();
 }
Пример #2
0
        public RouteCalculator(IEnumerable <IPlatformModule> modules, ModuleGraph graph, ILogger logger)
        {
            if (graph == null)
            {
                throw new ArgumentException("Graph cannot be null.", "graph");
            }

            Modules = modules;
            Graph   = graph;
            _logger = logger;
        }
Пример #3
0
 public GraphHelper(ModuleGraph moduleGraph)
 {
     _moduleGraph = moduleGraph;
 }