You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of the externally referenced version given in the tutorial section, it is probably better to have a checkpoint function always accept the MOEAD algorithm object as only argument. This would allow for a generic checkpoint function to be written without it being tied to a single MOEAD instance. I.e.
defcheckpoint(moead_algorithm: AbstractMoead):
.... # perform checkpoint actions here
with the call then becoming
ifcheckpoint:
checkpoint(self)
A simple checkpoint function could then for example be added to the tools submodule as an example.
Related: openjournals/joss-reviews#2974 and #15
See e.g. the difference between
framework/moead_framework/algorithm/abstract_moead.py
Lines 103 to 104 in 659cb04
and
framework/moead_framework/algorithm/combinatorial/moead_dra.py
Lines 69 to 70 in 659cb04
The text was updated successfully, but these errors were encountered: