Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pddl/goal_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __init__(self, antecedent : GoalDescriptor, consequent : GoalDescriptor) ->
self.consequent = consequent

def __repr__(self) -> str:
return "(imples " + repr(self.antecedent) + " " + repr(self.consequent) + ")"
return "(imply " + repr(self.antecedent) + " " + repr(self.consequent) + ")"

def copy(self) -> 'GoalDescriptor':
return GoalImplication(self.antecedent.copy(), self.consequent.copy())
Expand Down Expand Up @@ -228,4 +228,4 @@ def bind_parameters(self, parameters : list[TypedParameter]) -> 'GoalDescriptor'
def filter_goal_to_time_spec(self, time_spec : TimeSpec) -> 'GoalDescriptor':
if time_spec == self.time_spec:
return self
return None
return None