/// <summary> /// Builds the successors generator. /// </summary> /// <param name="operators">Operators of the SAS+ planning problem.</param> /// <param name="variables">Variables data of the SAS+ planning problem.</param> /// <param name="mutexGroups">Mutex groups of the SAS+ planning problem.</param> public SuccessorsGenerator(Operators operators, Variables variables, MutexGroups mutexGroups) { TreeRoot = OperatorDecisionTreeBuilder.BuildApplicabilityTree(operators, variables); SuccessorsCollector = new SuccessorsCollector(mutexGroups); }
/// <summary> /// Builds the predecessors generator. /// </summary> /// <param name="operators">Operators of the SAS+ planning problem.</param> /// <param name="variables">Variables data of the SAS+ planning problem.</param> public PredecessorsGenerator(Operators operators, Variables variables) { TreeRoot = OperatorDecisionTreeBuilder.BuildRelevanceTree(operators, variables); }