interface.go 271 B

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