File size: 3,286 Bytes
7ac6c3c 351a289 be6e4e0 8bf705b 700d21b 43c9306 2b159e2 d178010 658bc06 5861617 a216787 312dd21 4282b61 3c4964d 3b487db e947903 902f504 1326294 7f7d892 6ce5280 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | name,message,time
ooooo1,gashi1,2023-08-21 04:31:32.290355
ooooo11,gashi11,2023-08-21 04:31:45.024189
asoan,come here,2023-08-21 05:41:41.168356
asoan,come here,2023-08-21 05:51:20.517423
asoan,come here,2023-08-21 05:51:23.467250
asoan,come here,2023-08-21 05:51:26.254462
asoan,come here,2023-08-21 05:51:29.021950
asoan,come here,2023-08-21 05:51:31.787702
hellllo,me me,2023-08-21 05:56:30.521196
hellllo1,me me1,2023-08-21 05:57:56.250099
hellllo2,me me2,2023-08-21 05:58:05.826107
hellllo3,me me3,2023-08-21 05:58:13.617777
aa,"print(""hilooooooooo"")",2023-08-21 06:39:12.032322
mi,"
tim = MyAgent()
subway=MyEnv()
subway.agent=tim
log_everything(subway)
subway.run()",2023-08-21 06:41:36.661562
mi,"
tim = MyAgent()
subway=MyEnv()
subway.agent=tim
log_everything(subway)
subway.run()",2023-08-21 06:41:53.877825
new,"class MyEnv(Model):
pass
class MyAgent(ACTR):
production_time = 0.05
production_sd = 0.01
production_threshold = -20
goal = Buffer() # Creating the goal buffer for the agent
def init(): # this rule fires when the agent is instantiated.
goal.set(""sandwich bread"") # set goal buffer to direct program flow
def bread_bottom(goal=""sandwich bread""): # if goal=""sandwich bread"" , fire rule
print (""I have a piece of bread222"")
goal.set(""stop"") # set goal buffer to direct program flow
def stop_production(goal=""stop""):
self.stop() # stop the agent",2023-08-21 06:44:14.712929
new,"class MyEnv(Model):
pass
class MyAgent(ACTR):
production_time = 0.05
production_sd = 0.01
production_threshold = -20
goal = Buffer() # Creating the goal buffer for the agent
def init(): # this rule fires when the agent is instantiated.
goal.set(""sandwich bread"") # set goal buffer to direct program flow
def bread_bottom(goal=""sandwich bread""): # if goal=""sandwich bread"" , fire rule
print (""I have a piece of bread222"")
goal.set(""stop"") # set goal buffer to direct program flow
def stop_production(goal=""stop""):
self.stop() # stop the agent",2023-08-21 06:44:42.874698
new1,"class MyEnv(Model):
pass
class MyAgent(ACTR):
production_time = 0.05
production_sd = 0.01
production_threshold = -20
goal = Buffer() # Creating the goal buffer for the agent
def init(): # this rule fires when the agent is instantiated.
goal.set(""sandwich bread"") # set goal buffer to direct program flow
def bread_bottom(goal=""sandwich bread""): # if goal=""sandwich bread"" , fire rule
print (""I have a piece of bread222"")
goal.set(""stop"") # set goal buffer to direct program flow
def stop_production(goal=""stop""):
self.stop() # stop the agent",2023-08-21 06:45:41.688666
aa,"print(""ai"")",2023-08-21 06:48:54.020419
aa,"print(""ai"")",2023-08-21 06:49:08.182486
aa,"print(""ai"")",2023-08-21 06:49:28.817569
p1,"tim = MyAgent()
subway=MyEnv()
subway.agent=tim
log_everything(subway)
subway.run()",2023-08-21 06:58:25.249236
p2,"from python_actr import *
",2023-08-21 07:02:11.622575
p2,from python_actr import *,2023-08-21 07:02:15.387708
p2,"class MyEnv(Model):
pass
class MyAgent(ACTR):
production_time = 0.05
production_sd = 0.01
production_threshold = -20",2023-08-21 07:02:46.319176
p2,goal = Buffer(),2023-08-21 07:03:54.440038
|