CognitiveScience commited on
Commit
4b24ee4
1 Parent(s): 7c6020d

Update dcogsphere.py

Browse files
Files changed (1) hide show
  1. dcogsphere.py +3 -1
dcogsphere.py CHANGED
@@ -14,6 +14,8 @@ from python_actr import Memory
14
  from python_actr import DMSpreading
15
  from python_actr import log_everything
16
 
 
 
17
  class MyEnv(Model):
18
  pass
19
  class MyAgent(ACTR):
@@ -35,5 +37,5 @@ class MyAgent(ACTR):
35
  tim = MyAgent()
36
  subway=MyEnv()
37
  subway.agent=tim
38
- log_everything(subway)
39
  subway.run()
 
14
  from python_actr import DMSpreading
15
  from python_actr import log_everything
16
 
17
+ logev=log_everything()
18
+
19
  class MyEnv(Model):
20
  pass
21
  class MyAgent(ACTR):
 
37
  tim = MyAgent()
38
  subway=MyEnv()
39
  subway.agent=tim
40
+ logev(subway)
41
  subway.run()