Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
REX-D
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perception
REX-D
Commits
e5a42fa9
Commit
e5a42fa9
authored
9 years ago
by
David Martínez
Browse files
Options
Downloads
Patches
Plain Diff
More informative error msgs.
parent
1e44bd23
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/symbolic/goals.cpp
+5
-4
5 additions, 4 deletions
src/symbolic/goals.cpp
with
5 additions
and
4 deletions
src/symbolic/goals.cpp
+
5
−
4
View file @
e5a42fa9
...
@@ -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
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment