Class GenerationalReplacementStrategyHandler<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.replacement.GenerationalReplacementStrategyHandler<T>
- All Implemented Interfaces:
ReplacementStrategyHandler<T>
public class GenerationalReplacementStrategyHandler<T extends Comparable<T>>
extends Object
implements ReplacementStrategyHandler<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(ReplacementStrategy replacementStrategy) resolve
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, ReplacementStrategy replacementStrategy)
-
Constructor Details
-
GenerationalReplacementStrategyHandler
public GenerationalReplacementStrategyHandler()
-
-
Method Details
-
canHandle
- Specified by:
canHandle
in interfaceReplacementStrategyHandler<T extends Comparable<T>>
-
resolve
public ReplacementStrategyImplementor<T> resolve(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, SelectionPolicyHandlerResolver<T> selectionPolicyHandlerResolver, ReplacementStrategy replacementStrategy) - Specified by:
resolve
in interfaceReplacementStrategyHandler<T extends Comparable<T>>
-