Examples of MatingStrategy


Examples of com.trimga.matingstrategies.MatingStrategy

    public abstract double getFitness() throws IllegalChromosomeException;
   
    public Phenotype makeChildWith(Phenotype mate, OptimizationType optimizationType)
        throws IllegalChromosomeException
    {
        MatingStrategy matingStrategy = MatingStrategyFactory.getMatingStrategy(optimizationType);
        return matingStrategy.makeChildFromParents(this, mate);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.