Package teamwork :: Package examples :: Package Thespian :: Module ThespianGeneric :: Class ThespianGenericModel
[hide private]
[frames] | no frames]

Class ThespianGenericModel

source code

              agent.Agent.Agent --+                
                                  |                
agent.RecursiveAgent.RecursiveAgent --+            
                                      |            
         agent.GoalBased.GoalBasedAgent --+        
                                          |        
                    agent.support.Supporter --+    
                                              |    
              agent.Agent.Agent --+           |    
                                  |           |    
agent.RecursiveAgent.RecursiveAgent --+       |    
                                      |       |    
         agent.GoalBased.GoalBasedAgent --+   |    
                                          |   |    
              agent.stereotypes.Stereotyper --+    
                                              |    
                     agent.Generic.GenericModel --+
                                                  |
                                                 ThespianGenericModel

Nested Classes [hide private]

Inherited from agent.Agent.Agent: actionClass

Instance Methods [hide private]
 
__init__(self, name='') source code
 
__repr__(self)
Returns a string representation of this entity
source code
 
importDict(self, generic)
Updates generic model from dictionary-style spec
source code

Inherited from agent.Generic.GenericModel: __xml__, ancestors, deleteState, getAllFillers, getCumulativeState, getInheritor, getParents, getRelationships, isSubclass, merge, parse, renameEntity, setHierarchy

Inherited from agent.support.Supporter: getAllBeliefs, getLink, getLinkKey, getLinkTypes, getLinkees, getSupport, getTrust, initEntities, preComStateEstimator, removeLink, setLink, setSupport, setTrust, updateLinks, updateTrust

Inherited from agent.GoalBased.GoalBasedAgent: __copy__, __str__, actionValue, applyGoals, expectedValue, fit, generateConstraints, getGoalTree, getGoalVector, getGoalWeight, getGoals, getNormalization, normalizeGoals, setGoalWeight, setGoals

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

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

Inherited from agent.stereotypes.Stereotyper: clusterSpace, freezeModels, generateSpace, hypotheticalPreCom, reachable, setModel, updateModel, updateModels, weightEqual

Class Variables [hide private]
  option_messages = []

Inherited from agent.support.Supporter: supportLimit, supportWeights

Inherited from agent.GoalBased.GoalBasedAgent: valueType

Inherited from agent.stereotypes.Stereotyper: defaultModelChange

Instance Variables [hide private]

Inherited from agent.Generic.GenericModel: depth

Inherited from agent.support.Supporter: linkDynamics, linkTypes, links

Inherited from agent.GoalBased.GoalBasedAgent: constraints, goals, horizon

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

Inherited from agent.Agent.Agent: actions, name, omega

Inherited from agent.stereotypes.Stereotyper: model, modelChange, models

Method Details [hide private]

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

source code 
Parameters:
  • name - the unique ID for this model
Overrides: agent.stereotypes.Stereotyper.__init__

importDict(self, generic)

source code 

Updates generic model from dictionary-style spec

Overrides: agent.Generic.GenericModel.importDict