org.opt4j.tutorial.operator
Class MyOperator

java.lang.Object
  extended by org.opt4j.tutorial.operator.MyOperator
All Implemented Interfaces:
org.opt4j.core.optimizer.Operator<org.opt4j.core.genotype.BooleanGenotype>, org.opt4j.operators.crossover.Crossover<org.opt4j.core.genotype.BooleanGenotype>

public class MyOperator
extends java.lang.Object
implements org.opt4j.operators.crossover.Crossover<org.opt4j.core.genotype.BooleanGenotype>


Constructor Summary
MyOperator()
           
 
Method Summary
 org.opt4j.operators.crossover.Pair<org.opt4j.core.genotype.BooleanGenotype> crossover(org.opt4j.core.genotype.BooleanGenotype parent1, org.opt4j.core.genotype.BooleanGenotype parent2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyOperator

public MyOperator()
Method Detail

crossover

public org.opt4j.operators.crossover.Pair<org.opt4j.core.genotype.BooleanGenotype> crossover(org.opt4j.core.genotype.BooleanGenotype parent1,
                                                                                             org.opt4j.core.genotype.BooleanGenotype parent2)
Specified by:
crossover in interface org.opt4j.operators.crossover.Crossover<org.opt4j.core.genotype.BooleanGenotype>