Package org.encog.neural.hyperneat

Examples of org.encog.neural.hyperneat.HyperNEATCODEC


   * Create an initial random population.
   */
  public void reset() {
    // create the genome factory
    if (isHyperNEAT()) {
      this.codec = new HyperNEATCODEC();
      setGenomeFactory(new FactorHyperNEATGenome());
    } else {
      this.codec = new NEATCODEC();
      setGenomeFactory(new FactorNEATGenome());
    }
View Full Code Here


    result.addOperation(0.005, new NEATMutateAddLink());
    result.addOperation(0.0005, new NEATMutateRemoveLink());
    result.getOperators().finalizeStructure();

    if (population.isHyperNEAT()) {
      result.setCODEC(new HyperNEATCODEC());
    } else {
      result.setCODEC(new NEATCODEC());
    }

    return result;
View Full Code Here

    }

    // set factories
    if (result.isHyperNEAT()) {
      result.setGenomeFactory(new FactorHyperNEATGenome());
      result.setCODEC(new HyperNEATCODEC());
    } else {
      result.setGenomeFactory(new FactorNEATGenome());
      result.setCODEC(new NEATCODEC());
    }
View Full Code Here

TOP

Related Classes of org.encog.neural.hyperneat.HyperNEATCODEC

Copyright © 2018 www.massapicom. 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.