Examples of NetworkGenome


Examples of ise.mace.neuralnetworks.NetworkGenome

  public GeneticAgent(SimulationGenome genome)
  {
    super(genome.initialFood(), genome.consumption(),
        genome.type(), genome.socialBelief(), genome.economicBelief());

    NetworkGenome cfGenome = genome.chooseFoodGenome();
    chooseFoodNet = new TanhFeedForwardNetwork(cfGenome.nodeCounts());
    chooseFoodNet.setOffsets(cfGenome.offsets());
    chooseFoodNet.setWeights(cfGenome.weights());
  }
View Full Code Here

Examples of ise.mace.neuralnetworks.NetworkGenome

  @Override
  public SimulationGenome crossOver(SimulationGenome genome)
  {
    SimulationGenome newGenome = new SimulationGenome(randomSeed++);

    NetworkGenome newCFGenome = genome.chooseFoodGenome();
    newCFGenome = this.chooseFoodGenome().crossOver(newCFGenome);
    newGenome.setChooseFoodGenome(newCFGenome);

    newGenome.setSocialBelief(socialBelief);
    newGenome.setEconomicBelief(economicBelief);
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.