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

Method is_timeout

pddlstream/algorithms/common.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 def elapsed_time(self):
59 return elapsed_time(self.start_time)
60 def is_timeout(self):
61 return (self.max_time <= self.elapsed_time()) or not check_memory(self.max_memory)
62 def is_terminated(self):
63 return self.is_solved() or self.is_timeout()
64 #def __repr__(self):

Callers 2

is_terminatedMethod · 0.95
export_summaryMethod · 0.95

Calls 2

elapsed_timeMethod · 0.95
check_memoryFunction · 0.90

Tested by

no test coverage detected