public RegressiveNodeExpander(IEnumerable <PlanningAction> availableActions) { this.availableActions = PreconditionUtils.EnsureNotNull(availableActions, "availableActions"); }
public SimplePrecondition(SymbolId symbolId, Predicate <int> predicate, Func <int, double> distanceMetric = null) { this.symbolId = symbolId; this.predicate = PreconditionUtils.EnsureNotNull(predicate, nameof(predicate)); this.distanceMetric = distanceMetric; }
public Builder WithPlanExecutor(IPlanExecutor executor) { planExecutor = PreconditionUtils.EnsureNotNull(executor, "planExecutor"); return(this); }
public Builder WithKnowledgeProvider(IKnowledgeProvider provider) { knowledgeProvider = PreconditionUtils.EnsureNotNull(provider, "knowledgeProvider"); return(this); }
public Builder WithPlanner(IPlanner givenPlanner) { planner = PreconditionUtils.EnsureNotNull(givenPlanner, "planner"); return(this); }
public Builder WithGoalSelector(IGoalSelector selector) { goalSelector = PreconditionUtils.EnsureNotNull(selector, "goalSelector"); return(this); }