interface.go 275 B

12345678910111213141516
  1. package genetic
  2. import neuralnetwork "../neuralnetwork"
  3. type IndividalFitness struct {
  4. Fitness float64
  5. Index int
  6. }
  7. type PopulationVerifier interface {
  8. Verify(*Population) []*IndividalFitness
  9. }
  10. type Mutagen interface {
  11. Mutate(network *neuralnetwork.NeuralNetwork)
  12. }