chore: simplified PlannerNode::goal_node

This commit is contained in:
Sara 2024-03-30 23:02:07 +01:00
parent 325afa7f11
commit 87d2cbd727

View file

@ -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 {