chore: simplified PlannerNode::goal_node
This commit is contained in:
parent
325afa7f11
commit
87d2cbd727
|
@ -41,9 +41,7 @@ Dictionary Goal::get_prerequisites() const {
|
|||
#undef CLASSNAME // !Goal
|
||||
|
||||
PlannerNode PlannerNode::goal_node(WorldState const &goal) {
|
||||
return PlannerNode{
|
||||
goal, {}, {}
|
||||
};
|
||||
return PlannerNode{goal};
|
||||
}
|
||||
|
||||
PlannerNode PlannerNode::new_node_along(Ref<Action> action) const {
|
||||
|
|
Loading…
Reference in a new issue