summaryrefslogtreecommitdiff
path: root/src/world/agent.js
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-11-12 15:18:29 -0600
committersanine <sanine.not@pm.me>2023-11-12 15:18:29 -0600
commit7825b92ce3be95a0ce1dfea9388adbaadce83b1f (patch)
treeeb1e38561e3aba4b890e666e04d46e4de499658e /src/world/agent.js
parent95fd952b6d4c496efc0e6236ba2acfcbbeee8ed9 (diff)
fix bugs
Diffstat (limited to 'src/world/agent.js')
-rw-r--r--src/world/agent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world/agent.js b/src/world/agent.js
index dbfdf5d..2be7420 100644
--- a/src/world/agent.js
+++ b/src/world/agent.js
@@ -7,7 +7,7 @@ import { proposal_merge } from './proposal.js';
export function agent_decide(world, agent, senses, actions) {
const inputs = senses.map(s => sense_read(world, agent, s)).flat();
const [result, state] = agent.net.compute(inputs, agent.state);
- console.log(agent, result);
+ console.log(result, state);
const new_agent = { ...agent, state };
const [proposals, _] = actions.reduce(