Public Member Functions | |
def | __init__ |
def | __str__ |
def | dump |
def | instantiate |
def | parse |
def | uniquify_variables |
Public Attributes | |
condition | |
duration | |
effects | |
name | |
orig_parameter_length | |
parameters | |
type_map | |
Static Public Attributes | |
tuple | parse = staticmethod(parse) |
Definition at line 104 of file actions.py.
def pddl.actions.DurativeAction.__init__ | ( | self, | |
name, | |||
parameters, | |||
duration, | |||
conditions, | |||
effects | |||
) |
Definition at line 105 of file actions.py.
def pddl.actions.DurativeAction.__str__ | ( | self | ) |
Definition at line 201 of file actions.py.
def pddl.actions.DurativeAction.dump | ( | self | ) |
Definition at line 172 of file actions.py.
def pddl.actions.DurativeAction.instantiate | ( | self, | |
var_mapping, | |||
init_facts, | |||
fluent_facts, | |||
init_function_vals, | |||
fluent_functions, | |||
task, | |||
new_axiom, | |||
new_modules, | |||
objects_by_type | |||
) |
Return a PropositionalDurativeAction 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 210 of file actions.py.
def pddl.actions.DurativeAction.parse | ( | alist | ) |
Definition at line 114 of file actions.py.
def pddl.actions.DurativeAction.uniquify_variables | ( | self | ) |
Definition at line 203 of file actions.py.
Definition at line 105 of file actions.py.
Definition at line 105 of file actions.py.
Definition at line 105 of file actions.py.
Definition at line 105 of file actions.py.
Definition at line 105 of file actions.py.
Definition at line 105 of file actions.py.
tuple pddl::actions.DurativeAction::parse = staticmethod(parse) [static] |
Definition at line 171 of file actions.py.
Definition at line 203 of file actions.py.