Closed dhadka closed 1 month ago
Creates an extension mechanism to replace the wrapper classes (PeriodicAction and its subclasses).
PeriodicAction
To switch from wrappers to extensions, simply change:
algorithm = NSGAII(problem) wrapped_algorithm = AdaptiveTimeContinuation(algorithm)
with
algorithm = NSGAII(problem) algorithm.add_extension(AdaptiveTimeContinuationExtension())
The old wrapper classes are still available but are being deprecated.
Creates an extension mechanism to replace the wrapper classes (
PeriodicAction
and its subclasses).To switch from wrappers to extensions, simply change:
with
The old wrapper classes are still available but are being deprecated.