Class IslandMigrationExtension
java.lang.Object
org.moeaframework.algorithm.extension.PeriodicExtension
org.moeaframework.parallel.island.executor.IslandMigrationExtension
Extension that triggers island migrations.
-
Field Summary
Fields inherited from class org.moeaframework.algorithm.extension.PeriodicExtension
frequency, iteration, lastInvocation
-
Constructor Summary
ConstructorDescriptionIslandMigrationExtension
(Island island, IslandModel model) Constructs a new periodic action for triggering island migrations. -
Method Summary
Methods inherited from class org.moeaframework.algorithm.extension.PeriodicExtension
loadState, onRegister, onStep, saveState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.moeaframework.algorithm.extension.Extension
onInitialize, onRun, onTerminate
-
Constructor Details
-
IslandMigrationExtension
Constructs a new periodic action for triggering island migrations.- Parameters:
island
- the island associated with this migration actionmodel
- the island model
-
-
Method Details
-
doAction
Description copied from class:PeriodicExtension
The action that is called by this extension.- Specified by:
doAction
in classPeriodicExtension
- Parameters:
algorithm
- the algorithm associated with this extension
-