Пример #1
0
 public CostTreeNodeSolverKSimpleMatching(ProblemInstance problem, CostTreeNode costNode,
                                          Run runner, CostTreeSearchSolver solver, int maxGroupChecked,
                                          ISet <TimedMove> reserved)
     : base(problem, costNode, runner, solver, reserved)
 {
     this.maxGroupChecked = maxGroupChecked;
 }
Пример #2
0
 public CostTreeNodeSolverRepeatedMatching(ProblemInstance problem, CostTreeNode costNode,
                                           Run runner, CostTreeSearchSolver solver, int syncSize,
                                           ISet <TimedMove> reserved)
     : base(problem, costNode, runner, solver, reserved)
 {
     this.syncSize = syncSize;
 }
Пример #3
0
        public int matchCounter; // For debugging

        public CostTreeNodeSolver(ProblemInstance problem, Run runner, CostTreeSearchSolver solver)
        {
            this.runner  = runner;
            this.problem = problem;
            this.solver  = solver;
            this.allMDDs = new MDD[problem.GetNumOfAgents()];
        }
Пример #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="problem"></param>
        /// <param name="runner"></param>
        /// <param name="solver"></param>
        /// <param name="agentNums"></param>
        /// <param name="costsNode">Of all the agents, not just the ones selected</param>
        /// <param name="reserved"></param>
        public CostTreeNodeSolver(ProblemInstance problem, Run runner, CostTreeSearchSolver solver,
                                  int[] agentNums, CostTreeNode costsNode, ISet <TimedMove> reserved)
        {
            this.runner  = runner;
            this.problem = problem;
            this.solver  = solver;
            this.allMDDs = new MDD[agentNums.Length];

            this.Setup(agentNums, costsNode, reserved);
        }
Пример #5
0
 /// <summary>
 /// Automatically calls Setup with the given costsNode
 /// </summary>
 /// <param name="problem"></param>
 /// <param name="costNode">TODO: Maybe just pass the array of costs here?</param>
 /// <param name="runner"></param>
 /// <param name="solver"></param>
 public CostTreeNodeSolver(ProblemInstance problem, CostTreeNode costNode, Run runner,
                           CostTreeSearchSolver solver, ISet <TimedMove> reserved) // Make sure agent numbers are in the correct order
     : this(problem, runner, solver)
 {
     this.Setup(costNode, reserved);
 }
Пример #6
0
 public CostTreeNodeSolverRepeatedMatching(ProblemInstance problem, Run runner, CostTreeSearchSolver solver)
     : base(problem, runner, solver)
 {
 }
Пример #7
0
 public CostTreeNodeSolverDDBF(ProblemInstance problem, CostTreeNode costNode, Run runner, CostTreeSearchSolver solver,
                               ISet <TimedMove> reserved)
     : base(problem, costNode, runner, solver, reserved)
 {
 }
Пример #8
0
 public CostTreeNodeSolverDDBF(ProblemInstance problem, Run runner, CostTreeSearchSolver solver)
     : base(problem, runner, solver)
 {
 }