From b9aef10db328f035ea0fa5dd87e08673ce5f7efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sun, 14 Aug 2016 16:07:45 +0200 Subject: [PATCH] Documented axiom rules. --- doc/output-format.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/doc/output-format.md b/doc/output-format.md index eaf824b..e790540 100644 --- a/doc/output-format.md +++ b/doc/output-format.md @@ -104,7 +104,7 @@ action(action()). % defines that as a precondition to , must have value precondition(, , ). -% defines that after executing , is assigned +% defines that after applying , is assigned postcondition(, effect(), , ). % defines the condition of a conditional effect @@ -175,5 +175,28 @@ contains(, , ). SAS contains information about mutually exclusive [variable](#variable) assignments. That is, *at most one* variable assignment of each mutex group must be satisfied at all times. +Mutex group facts are only present with SAS input programs and not PDDL. + Mutex groups contain essential information in order to find plans correctly. That is, if mutex groups are present in `plasp`’s output, they have to be accounted for appropriately. + +### Axiom Rules + +```prolog +% declares an +axiomRule(axiomRule()). + +% defines that as a precondition to , must have value +precondition(, , ). + +% defines that after applying , is assigned +postcondition(, , ). +``` + +Axiom rules are similar to [actions](#actions) in that they modify variables if certain preconditions are satisfied. +However, axiom rules must be applied *immediately* as soon as their preconditions are satisfied. + +Axiom rule facts are only present with SAS input programs and not PDDL. + +Axiom rules contain essential information in order to find plans correctly. +That is, if axiom rules are present in `plasp`’s output, they have to be accounted for appropriately.