5.1
View the full changelog here.
Breaking changes:
- The
TournamentSelection
operator now has an additional (non-optional) propertynumberOfOffspring
which supersedes
the oldnumOffspring
Configuration
property. EventDispatcher
no longer contains methods for registerEventListener
definitions. The registration
methods have been moved toEventRegistry
.
Changes:
-
Any components which make use of the experimental co-routine APIs have been marked with the
@ExperimentalCoroutinesApi
attribute. -
A new
DiagnosticEvent
has been exposed which allows introspection into the system. The majority of the built-in
components have been updated to dispatchDiagnosticEvent
s for various actions. For example, to register a listener
for trace events:EventRegistry.register(object : EventListener<DiagnosticEvent.Trace> { override fun handle(event: DiagnosticEvent.Trace) { // Do something with event } })
-
Unit tests have been added for the following components (and there are more to come!):
- Tournament selection operator
- Recombination operator
Fixes: