public static class AbstractGenericOperator.OperatorVoidPredicate extends java.lang.Object implements AbstractGenericOperator.OperatorPredicate
AbstractGenericOperator.OperatorVoidPredicate
interface is used as marker for
Operator
s for which the predicate is not explicitly defined.Constructor and Description |
---|
OperatorVoidPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(org.opt4j.core.Genotype genotype)
Checks whether a
Genotype satisfies the predicate. |
java.lang.String |
toString() |
public boolean evaluate(org.opt4j.core.Genotype genotype)
AbstractGenericOperator.OperatorPredicate
Genotype
satisfies the predicate.evaluate
in interface AbstractGenericOperator.OperatorPredicate
genotype
- the genotypetrue
if the predicate is satisfiedpublic java.lang.String toString()
toString
in class java.lang.Object