Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. package com.evo.NEAT.com.evo.NEAT.config;
  2.  
  3. /**
  4. * Created by vishnughosh on 01/03/17.
  5. */
  6. public class NEAT_Config {
  7.  
  8. public static final int INPUTS = 11;
  9. public static final int OUTPUTS = 2;
  10. public static final int HIDDEN_NODES = 100;
  11. public static final int POPULATION =300;
  12.  
  13. public static final float COMPATIBILITY_THRESHOLD = Float.MAX_VALUE;
  14. public static final float EXCESS_COEFFICENT = 1;
  15. public static final float DISJOINT_COEFFICENT = 1;
  16. public static final float WEIGHT_COEFFICENT = 5;
  17.  
  18. public static final float STALE_SPECIES = 2;
  19.  
  20.  
  21. public static final float STEPS = 0.1f;
  22. public static final float PERTURB_CHANCE = 0.9f;
  23. public static final float WEIGHT_CHANCE = 0.5f;
  24. public static final float WEIGHT_MUTATION_CHANCE = 0.5f;
  25. public static final float NODE_MUTATION_CHANCE = 0.1f;
  26. public static final float CONNECTION_MUTATION_CHANCE = 0.1f;
  27. public static final float BIAS_CONNECTION_MUTATION_CHANCE = 0.1f;
  28. public static final float DISABLE_MUTATION_CHANCE = 0.1f;
  29. public static final float ENABLE_MUTATION_CHANCE = 0.2f ;
  30. public static final float CROSSOVER_CHANCE = 0.1f;
  31.  
  32. public static final int STALE_POOL = 10;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement