Package eas.users.students.fabian.diplomarbeit.EvolvableBoxAgents3D.Brain

Examples of eas.users.students.fabian.diplomarbeit.EvolvableBoxAgents3D.Brain.EvoBoxSparseNet.mutate()


    }
    sparseNet = new EvoBoxSparseNet(0, appendixInfoList.size()+additionalNeuronsForSensors, appendixInfoList.size(), 0, 100);
   
    //// MUTATE SPARSENET
    for (int i = 0; i < 6; i++) {
      sparseNet.mutate(params, random);
    }

    genome = new EvolvableBoxAgent3DGenome(agentSize);
    genome.setAppendices(appendixInfoList);
    genome.setSparseNet(sparseNet);
View Full Code Here


    //float typeOfMutation = random.nextFloat();
    //if (typeOfMutation < .95) {
    if (random.nextDouble()*portionSum < portionSparseNet) {
      //System.out.println("Mutate the brain!");
      newSparseNet.mutate(params, random);
    }

    else {
      //System.out.println("Mutate the body!");
      // Define type of mutation.
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.