From 3047e46f3478e20250556de833c1b6dd1b1a31f0 Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 29 Nov 2023 15:45:44 -0600 Subject: imlement mutateGenomeRemoveNeuron --- src/Mind.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mind.hs') 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 -- cgit v1.2.1