/*
 * CrossoverOpearator.java
 *
 * Created on 7. leden 2006, 21:33
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package cz.pcland.ga.crossover;

import cz.pcland.ga.BaseIndividual;
import java.util.*;
/**
 *
 * @author petr
 */
public interface CrossoverOpearator {
    /**
     * Returns name of this crossover operator
     */
    public String toString();
    
    /**
     * Given two individuals, this method returns array of new individuals using crossover operator  
     */
    public BaseIndividual[] crossOver(BaseIndividual i1, BaseIndividual i2, int strLen);
}
