Skip to content

Commit

Permalink
[#331]apply at_end_effects in get_node_contradict
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Nov 5, 2024
1 parent d950309 commit 5841810
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ SimpleBTBuilder::get_node_contradict(
if (current->action.action.is_durative_action()) {
plansys2::apply(current->action.action.get_at_start_effects(), state);
}
plansys2::apply(current->action.action.get_at_end_effects(), state);

// Look for a contradiction
if (!is_action_executable(node->action, state)) {
Expand Down

0 comments on commit 5841810

Please sign in to comment.