MCPcopy Create free account
hub / github.com/caelan/pddlstream / __init__

Method __init__

pddlstream/language/function.py:196–201  ·  view source on GitHub ↗
(self, head, fn, domain, info)

Source from the content-addressed store, hash-verified

194 #def is_negative(self):
195 # return self._Instance._opt_value is False
196 def __init__(self, head, fn, domain, info):
197 if info is None:
198 info = PredicateInfo()
199 super(Predicate, self).__init__(head, fn, domain, info)
200 assert(self.info.opt_fn is None)
201 self.blocked_predicate = self.name
202 @property
203 def predicate(self):
204 return self.function

Callers

nothing calls this directly

Calls 2

PredicateInfoClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected