-
Notifications
You must be signed in to change notification settings - Fork 0
PDDL.java
RukNdf edited this page Mar 16, 2021
·
5 revisions
pddl object.
Tests if the goal has been achieved in the current state.
Fixes case differences between the plan and the domain actions and problem objects.
Tries to apply the plan and returns an object with the result. If print is true it prints each action to the terminal.
- Null -----------------------> All actions were applied successfully.
- [Action | Null] ------------> Action "Action" was invalid.
- [Action | [pList | nList]] ---> Action "Action" wasn't applicable, second object is a pair of two lists, the list of all positive requirements not present in the current state, and all the negative requirements present.
Verbose tryPlan, prints errors to the terminal.
Generates a LaTeX file [outN] based on the hardcoded template file [String template] (by default it points to the "template" file). By default the file contains the name of the problem, domain, files, and a report on the plan.
Prints the domain.
Prints the problem and plan.
Prints the current state.