Public Member Functions | |
def | __init__ |
def | dump |
def | instantiate |
def | parse |
def | relaxed |
def | uniquify_variables |
def | untyped |
Public Attributes | |
condition | |
effects | |
name | |
parameters | |
type_map | |
Static Public Attributes | |
tuple | parse = staticmethod(parse) |
Definition at line 10 of file actions.py.
def pddl.actions.Action.__init__ | ( | self, | |
name, | |||
parameters, | |||
precondition, | |||
effects | |||
) |
Definition at line 11 of file actions.py.
def pddl.actions.Action.dump | ( | self | ) |
Definition at line 43 of file actions.py.
def pddl.actions.Action.instantiate | ( | self, | |
var_mapping, | |||
init_facts, | |||
fluent_facts, | |||
init_function_vals, | |||
fluent_functions, | |||
task, | |||
new_axiom, | |||
new_modules, | |||
objects_by_type | |||
) |
Return a PropositionalAction which corresponds to the instantiation of this action with the arguments in var_mapping. Only fluent parts of the conditions (those in fluent_facts) are included. init_facts are evaluated whilte instantiating. Precondition and effect conditions must be normalized for this to work. Returns None if var_mapping does not correspond to a valid instantiation (because it has impossible preconditions or an empty effect list.)
Definition at line 75 of file actions.py.
def pddl.actions.Action.parse | ( | alist | ) |
Definition at line 17 of file actions.py.
def pddl.actions.Action.relaxed | ( | self | ) |
Definition at line 55 of file actions.py.
def pddl.actions.Action.uniquify_variables | ( | self | ) |
Definition at line 50 of file actions.py.
def pddl.actions.Action.untyped | ( | self | ) |
Definition at line 64 of file actions.py.
Definition at line 11 of file actions.py.
Definition at line 11 of file actions.py.
Definition at line 11 of file actions.py.
Definition at line 11 of file actions.py.
tuple pddl::actions.Action::parse = staticmethod(parse) [static] |
Definition at line 42 of file actions.py.
Definition at line 50 of file actions.py.