Package org.encog.ml.ea.opp

Examples of org.encog.ml.ea.opp.EvolutionaryOperator.performOperation()


            this.parents[1] = chooseParent();
          }

          // success, perform crossover
          if (this.parents[0] != this.parents[1]) {
            opp.performOperation(this.rnd, this.parents, 0,
                this.children, 0);
          }
        } else {
          // clone a child (asexual reproduction)
          opp.performOperation(this.rnd, this.parents, 0,
View Full Code Here


            opp.performOperation(this.rnd, this.parents, 0,
                this.children, 0);
          }
        } else {
          // clone a child (asexual reproduction)
          opp.performOperation(this.rnd, this.parents, 0,
              this.children, 0);
          this.children[0].setPopulation(this.parents[0]
              .getPopulation());
        }
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.