MCPcopy Create free account
hub / github.com/anyoptimization/pymoo / has_next

Method has_next

pymoo/core/algorithm.py:148–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 return self.result()
147
148 def has_next(self) -> bool:
149 assert self.termination is not None, "Algorithm has no termination"
150 return not self.termination.has_terminated() # type: ignore
151
152 def finalize(self):
153

Callers 5

runMethod · 0.95
ask_and_tell.pyFile · 0.45
loop.pyFile · 0.45
nrbo.pyFile · 0.45

Calls 1

has_terminatedMethod · 0.80

Tested by 1