Use a genetic algorithm to evolve populations of bit strings.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

47 lines
411 B

  1. #ifndef BITEVOLVER_ENUMS_H
  2. #define BITEVOLVER_ENUMS_H
  3. //
  4. namespace BitEvolver
  5. {
  6. //
  7. namespace Enums
  8. {
  9. //
  10. enum class CrossoverType
  11. {
  12. //
  13. None,
  14. Sexual
  15. };
  16. //
  17. enum class CrossoverOrder
  18. {
  19. //
  20. MamaPapa,
  21. ByFitness
  22. };
  23. //
  24. enum class CrossoverBounds
  25. {
  26. //
  27. Clip,
  28. Wrap
  29. };
  30. //
  31. enum class ElitismType
  32. {
  33. //
  34. None,
  35. Rate,
  36. Absolute
  37. };
  38. };
  39. };
  40. #endif