Class DeleteNLastReplacementStrategyHandler<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.replacement.DeleteNLastReplacementStrategyHandler<T>
- All Implemented Interfaces:
ReplacementStrategyHandler<T>
public class DeleteNLastReplacementStrategyHandler<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
-
DeleteNLastReplacementStrategyHandler
public DeleteNLastReplacementStrategyHandler()
-
-
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>>
-