Package org.opt4j.operators
Class AbstractGenericOperator.OperatorVoidPredicate
java.lang.Object
org.opt4j.operators.AbstractGenericOperator.OperatorVoidPredicate
- All Implemented Interfaces:
AbstractGenericOperator.OperatorPredicate
- Enclosing class:
AbstractGenericOperator<O extends Operator<?>,
Q extends Operator<?>>
public static class AbstractGenericOperator.OperatorVoidPredicate
extends Object
implements AbstractGenericOperator.OperatorPredicate
The
AbstractGenericOperator.OperatorVoidPredicate
interface is used as marker for
Operator
s for which the predicate is not explicitly defined.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OperatorVoidPredicate
public OperatorVoidPredicate()
-
-
Method Details
-
evaluate
Description copied from interface:AbstractGenericOperator.OperatorPredicate
Checks whether aGenotype
satisfies the predicate.- Specified by:
evaluate
in interfaceAbstractGenericOperator.OperatorPredicate
- Parameters:
genotype
- the genotype- Returns:
true
if the predicate is satisfied
-
toString
-