summaryrefslogtreecommitdiff
path: root/src/Agent.hs
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-12-03 23:44:33 -0600
committersanine <sanine.not@pm.me>2023-12-03 23:44:33 -0600
commit135ce23bd188c9351c8e9dde783a713b72dff8f3 (patch)
tree5d2338350279fef757b58da744a9776cc4b9164e /src/Agent.hs
parent450ac00012ba57fc70d655c5a8c4fb8eb5e6d5d3 (diff)
implement Combinable for LatticePropList
Diffstat (limited to 'src/Agent.hs')
-rw-r--r--src/Agent.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Agent.hs b/src/Agent.hs
new file mode 100644
index 0000000..bb9e284
--- /dev/null
+++ b/src/Agent.hs
@@ -0,0 +1,16 @@
+module Agent
+ (
+ ) where
+
+
+import Mind (Network (..))
+
+
+data Agent a = Agent
+ { id :: Int
+ , net :: Network
+ , state :: [Float]
+ , x :: Int
+ , y :: Int
+ , flags :: a
+ }