forked from AI-Planning/fond-domains
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean-up and comment puffbot dialogue domain AI-Planning#4
- Loading branch information
Showing
38 changed files
with
286 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,281 @@ | ||
(define (domain puffbot_dialog) | ||
(:requirements :strips :typing :non-deterministic) | ||
(:types | ||
Slot - None | ||
RelevantInformation - None | ||
UserStatus - None | ||
) | ||
(:predicates | ||
(hasRelevantInformation ?x - Slot ?v - RelevantInformation) | ||
(has_value ?s - Slot) | ||
(GOAL_ACHIEVED) | ||
(initiate) | ||
(fallback_intent) | ||
(unexpected_intent_received) | ||
(is_most_useful ?s - Slot) | ||
(search_most_useful) | ||
(make_request) | ||
(possible_classification_us ?us - UserStatus) | ||
) | ||
(:action enable_fallback_question | ||
:parameters () | ||
:precondition (and | ||
(fallback_intent) | ||
) | ||
:effect (GOAL_ACHIEVED) | ||
) | ||
(:action enable_fallback_question2 | ||
:parameters () | ||
:precondition (and | ||
(fallback_intent) | ||
(not | ||
(make_request) | ||
) | ||
) | ||
:effect (GOAL_ACHIEVED) | ||
) | ||
(:action feedback_unexpected_intent | ||
:parameters () | ||
:precondition (and | ||
(not | ||
(fallback_intent) | ||
) | ||
(unexpected_intent_received) | ||
(not | ||
(initiate) | ||
) | ||
) | ||
:effect (and | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
(search_most_useful) | ||
) | ||
) | ||
(:action service_deadend | ||
:parameters (?s - Slot) | ||
:precondition (and | ||
(is_most_useful ?s) | ||
(has_value ?s) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
) | ||
:effect (and | ||
(not | ||
(is_most_useful ?s) | ||
) | ||
(search_most_useful) | ||
) | ||
) | ||
(:action report_class1 | ||
:parameters () | ||
:precondition (and | ||
(possible_classification_us class1) | ||
(not | ||
(initiate) | ||
) | ||
(not | ||
(make_request) | ||
) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
) | ||
:effect (and | ||
(oneof | ||
(and | ||
(not | ||
(GOAL_ACHIEVED) | ||
) | ||
(not | ||
(possible_classification_us class1) | ||
) | ||
(search_most_useful) | ||
) | ||
(GOAL_ACHIEVED) | ||
) | ||
) | ||
) | ||
(:action report_class2 | ||
:parameters () | ||
:precondition (and | ||
(possible_classification_us class2) | ||
(not | ||
(initiate) | ||
) | ||
(not | ||
(make_request) | ||
) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
) | ||
:effect (and | ||
(oneof | ||
(and | ||
(not | ||
(GOAL_ACHIEVED) | ||
) | ||
(not | ||
(possible_classification_us class2) | ||
) | ||
(search_most_useful) | ||
) | ||
(GOAL_ACHIEVED) | ||
) | ||
) | ||
) | ||
(:action report_class3 | ||
:parameters () | ||
:precondition (and | ||
(possible_classification_us class3) | ||
(not | ||
(initiate) | ||
) | ||
(not | ||
(make_request) | ||
) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
) | ||
:effect (and | ||
(oneof | ||
(and | ||
(not | ||
(GOAL_ACHIEVED) | ||
) | ||
(not | ||
(possible_classification_us class3) | ||
) | ||
(search_most_useful) | ||
) | ||
(GOAL_ACHIEVED) | ||
) | ||
) | ||
) | ||
(:action request_slot1 | ||
:parameters () | ||
:precondition (and | ||
(make_request) | ||
(is_most_useful slot1) | ||
(not | ||
(has_value slot1) | ||
) | ||
(not | ||
(search_most_useful) | ||
) | ||
(not | ||
(initiate) | ||
) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
) | ||
:effect (and | ||
(has_value slot1) | ||
(not | ||
(is_most_useful slot1) | ||
) | ||
(not | ||
(make_request) | ||
) | ||
(possible_classification_us class1) | ||
) | ||
) | ||
|
||
(:action report_default | ||
:parameters () | ||
:precondition (and | ||
(has_value slot1) | ||
(not | ||
(is_most_useful slot1) | ||
) | ||
(not | ||
(possible_classification_us class1) | ||
) | ||
(not | ||
(possible_classification_us class2) | ||
) | ||
(not | ||
(possible_classification_us class3) | ||
) | ||
) | ||
:effect (GOAL_ACHIEVED) | ||
) | ||
(:action report_default_negation | ||
:parameters () | ||
:precondition (and | ||
(hasRelevantInformation slot1 NoValue) | ||
(not | ||
(possible_classification_us class1) | ||
) | ||
(not | ||
(possible_classification_us class2) | ||
) | ||
(not | ||
(possible_classification_us class3) | ||
) | ||
) | ||
:effect (GOAL_ACHIEVED) | ||
) | ||
(:action initiate | ||
:parameters () | ||
:precondition (and | ||
(initiate) | ||
(not | ||
(has_value slot1) | ||
) | ||
) | ||
:effect (GOAL_ACHIEVED) | ||
) | ||
(:action search_most_useful_slot | ||
:parameters () | ||
:precondition (and | ||
(search_most_useful) | ||
(not | ||
(initiate) | ||
) | ||
(not | ||
(fallback_intent) | ||
) | ||
(not | ||
(unexpected_intent_received) | ||
) | ||
(not | ||
(possible_classification_us class1) | ||
) | ||
(not | ||
(possible_classification_us class2) | ||
) | ||
(not | ||
(possible_classification_us class3) | ||
) | ||
) | ||
:effect (and | ||
(not | ||
(search_most_useful) | ||
) | ||
(make_request) | ||
(oneof | ||
(is_most_useful slot1) | ||
) | ||
) | ||
) | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.