diff options
author | sanine <sanine.not@pm.me> | 2023-11-29 15:45:44 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-11-29 15:45:44 -0600 |
commit | 3047e46f3478e20250556de833c1b6dd1b1a31f0 (patch) | |
tree | ab8bd56416a64ce1236d23e1bcdadd943d46832d /src/Mind.hs | |
parent | 62a04f27ecbaf714c08fa0594566da83581f7a97 (diff) |
imlement mutateGenomeRemoveNeuron
Diffstat (limited to 'src/Mind.hs')
-rw-r--r-- | src/Mind.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mind.hs b/src/Mind.hs index d686e24..010d83b 100644 --- a/src/Mind.hs +++ b/src/Mind.hs @@ -14,7 +14,7 @@ import Data.Ix import Data.Maybe -- index different neuron types -data NeuronIndex = Input Int | Internal Int | Output Int deriving (Show, Eq) +data NeuronIndex = Input Int | Internal Int | Output Int deriving (Show, Eq, Ord) getNeuronIndex :: NeuronIndex -> Int getNeuronIndex (Input i) = i |