summaryrefslogtreecommitdiff
path: root/SA_POP/Planner.h
diff options
context:
space:
mode:
Diffstat (limited to 'SA_POP/Planner.h')
-rw-r--r--SA_POP/Planner.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/SA_POP/Planner.h b/SA_POP/Planner.h
index 1a904158c89..6f3c34902da 100644
--- a/SA_POP/Planner.h
+++ b/SA_POP/Planner.h
@@ -83,9 +83,29 @@ namespace SA_POP {
/**
* @param sa_max_steps Maximum steps to run spreading activation.
*
+ * @param goal Goal for which to plan.
+ *
+ * @return True if planning succeeded, false otherwise.
+ */
+ virtual bool plan (size_t sa_max_steps, SA_POP::Goal goal);
+
+ /// Replan with new goal.
+ /**
+ * @param sa_max_steps Maximum steps to run spreading activation.
+ *
+ * @param goal Goal for which to plan.
+ *
+ * @return True if planning succeeded, false otherwise.
+ */
+ virtual bool replan (size_t sa_max_steps, SA_POP::Goal goal);
+
+ /// Replan with current goal.
+ /**
+ * @param sa_max_steps Maximum steps to run spreading activation.
+ *
* @return True if planning succeeded, false otherwise.
*/
- virtual bool plan (size_t sa_max_steps);
+ virtual bool replan (size_t sa_max_steps);
/// Get current plan.
/**