Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
run
Method · 0.95
test_min_vs_loop_vs_infill
Function · 0.45
ask_and_tell.py
File · 0.45
loop.py
File · 0.45
nrbo.py
File · 0.45
Calls
1
has_terminated
Method · 0.80
Tested by
1
test_min_vs_loop_vs_infill
Function · 0.36