Package teamwork :: Package agent :: Module MemoryAgent :: Class MemoryAgent
[hide private]
[frames] | no frames]

Class MemoryAgent

source code

              Agent.Agent --+    
                            |    
RecursiveAgent.RecursiveAgent --+
                                |
                               MemoryAgent
Known Subclasses:

Memory is stored in a list such that the most recent memory is the 0th element in the list and the oldest memory is the n-1th memory in the list where n is the memory length

Nested Classes [hide private]

Inherited from Agent.Agent: actionClass

Instance Methods [hide private]
 
__init__(self, name='') source code
 
updateMemory(self, actions, previousBeliefs) source code

Inherited from RecursiveAgent.RecursiveAgent: __copy__, __deepcopy__, __eq__, __getitem__, __ne__, __str__, __xml__, ancestry, applyChanges, applyPolicy, beliefDepth, findObservation, freeze, getActionKeys, getAllBeliefs, getBelief, getBeliefKeys, getDynamics, getEntities, getEntity, getEntityBeliefs, getNestedBelief, getObservation, getObservations, getSelfBelief, getState, getStateFeatures, hasBelief, incorporateMessage, initialStateEstimator, invalidateCache, multistep, observe, parse, preComStateEstimator, resetHistory, saveObservations, setBelief, setEntity, setName, setObservation, setRecursiveBelief, setSelfBelief, setState, stateEstimator, step, toHTML, updateStateDict

Inherited from Agent.Agent: __cmp__, generateAllObservations, generateHistories, legalActions, legalMessages, observable, postComStateEstimator

Instance Variables [hide private]

Inherited from RecursiveAgent.RecursiveAgent: dynamics, parent, relationships, state

Inherited from Agent.Agent: actions, name, omega

Method Details [hide private]

__init__(self, name='')
(Constructor)

source code 
Parameters:
  • name - label for this instance
Overrides: Agent.Agent.__init__
(inherited documentation)