Skip to content
Snippets Groups Projects
Commit fcebab1a authored by David  Martínez's avatar David Martínez
Browse files

Added state::clear()

parent 5fa068ac
No related branches found
No related tags found
No related merge requests found
......@@ -37,3 +37,8 @@ void State::remove_special_predicates()
PredicateGroup<Symbol>::remove(special_predicates);
}
void State::clear()
{
PredicateGroup<Symbol>::clear();
pddl_object_manager = PDDLObjectManager();
}
\ No newline at end of file
......@@ -41,6 +41,8 @@ public:
PredicateGroup<Symbol>(state_),
pddl_object_manager(state_.pddl_object_manager)
{ };
void clear();
void read_from_file(std::string file_path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment