Class: Longjing::PDDL::Empty
Instance Attribute Summary
Attributes inherited from Literal
#ff_goal, #ff_layer, #ff_neg_goal
Instance Method Summary
collapse
Methods inherited from Literal
#to_a
Instance Method Details
#applicable?(set) ⇒ Boolean
22
23
24
|
# File 'lib/longjing/pddl/literal.rb', line 22
def applicable?(set)
true
end
|
#apply(set) ⇒ Object
26
27
|
# File 'lib/longjing/pddl/literal.rb', line 26
def apply(set)
end
|
#inspect ⇒ Object
37
38
39
|
# File 'lib/longjing/pddl/literal.rb', line 37
def inspect
"<empty>"
end
|
#substitute(variables) ⇒ Object
29
30
31
|
# File 'lib/longjing/pddl/literal.rb', line 29
def substitute(variables)
self
end
|
#to_s ⇒ Object
33
34
35
|
# File 'lib/longjing/pddl/literal.rb', line 33
def to_s
"()"
end
|