Package org.encog.ml.genetic.species

Examples of org.encog.ml.genetic.species.Species.purge()


    final Object[] speciesArray = getPopulation().getSpecies().toArray();

    for (final Object element : speciesArray) {
      final Species s = (Species) element;
      s.purge();

      if ((s.getGensNoImprovement() > this.paramNumGensAllowedNoImprovement)
          && getComparator().isBetterThan(this.bestEverScore,
              s.getBestScore())) {
        getPopulation().getSpecies().remove(s);
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.