Home | Trees | Indices | Help |
|
---|
|
1 from PsychAgents import * 2 6 1315 previousState = self.getState().domain()[0].__copy__() 16 result = PsychAgents.microstep(self,turns,hypothetical,explain,suggest,debug) 17 18 #We only store the history if we're doing a real step 19 if not hypothetical: 20 action = result['decision'].values()[0][0] 21 self.getHistory().append({'action':action, 'previousState':previousState}) 22 23 return result24
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 19 16:48:44 2009 | http://epydoc.sourceforge.net |