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

More informative error msgs.

parent 1e44bd23
No related branches found
No related tags found
No related merge requests found
...@@ -161,16 +161,17 @@ void RDDLGoal::write_PPDDL_problem(std::ostream &out) const ...@@ -161,16 +161,17 @@ void RDDLGoal::write_PPDDL_problem(std::ostream &out) const
void RDDLGoal::write_PPDDL(std::ostream &out, const std::vector<PPDDL::FullObject>& rule_params) const void RDDLGoal::write_PPDDL(std::ostream &out, const std::vector<PPDDL::FullObject>& rule_params) const
{ {
throw std::logic_error("Unimplemented"); throw std::logic_error("Unimplemented RDDLGoal::write_PPDDL");
} }
void RDDLGoal::PPDDL_grounding() { throw std::logic_error("Unimplemented"); }; void RDDLGoal::PPDDL_grounding() { throw std::logic_error("Unimplemented RDDLGoal::PPDDL_grounding"); };
void RDDLGoal::modify_reward(const float modification) { throw std::logic_error("Unimplemented (but can be implemented)"); }; void RDDLGoal::modify_reward(const float modification) { throw std::logic_error("Unimplemented RDDLGoal::modify_reward (but can be implemented)"); };
RewardFunctionGroup RDDLGoal::get_pddl_grounded_goals(const std::vector<std::string>& symbolic_params, RewardFunctionGroup RDDLGoal::get_pddl_grounded_goals(const std::vector<std::string>& symbolic_params,
const std::vector<std::string>& grounded_params, const std::vector<std::string>& grounded_params,
const PPDDLObjectManager<PPDDL::FullObject>& object_manager) const { throw std::logic_error("Unimplemented"); return RewardFunctionGroup(); }; const PPDDLObjectManager<PPDDL::FullObject>& object_manager) const
{ throw std::logic_error("Unimplemented RDDLGoal::get_pddl_grounded_goals"); return RewardFunctionGroup(); };
void RDDLGoal::add_simple_reward(const PredicateGroup<TypedAtom>& preconditions, const float reward_value) { void RDDLGoal::add_simple_reward(const PredicateGroup<TypedAtom>& preconditions, const float reward_value) {
RDDLGoalComponent::Ptr reward_value_component_ptr(new RDDLGoalNumericLeaf(reward_value)); RDDLGoalComponent::Ptr reward_value_component_ptr(new RDDLGoalNumericLeaf(reward_value));
......
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