Package teamwork :: Package policy :: Module JIPolicy :: Class STEAMPolicy
[hide private]
[frames] | no frames]

Class STEAMPolicy

source code

generic.Policy --+    
                 |    
          JIPolicy --+
                     |
                    STEAMPolicy

subclass of joint intentions policies, but following the STEAM algorithm for decision-theoretic selectivity

Instance Methods [hide private]
 
__init__(self, jpg, achievedMsg, gamma, costMiscoord, costComm)
jpg: a dictionary of conditions under which the JPG is achieved.
source code
 
execute(self, state, choices=[], debug=0) source code
Method Details [hide private]

__init__(self, jpg, achievedMsg, gamma, costMiscoord, costComm)
(Constructor)

source code 

jpg: a dictionary of conditions under which the JPG is achieved. The keys are the relevant feature names; the values are a list of relevant feature values.

Overrides: generic.Policy.__init__

execute(self, state, choices=[], debug=0)

source code 
Overrides: generic.Policy.execute