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

Class GloballyOptimalJIPolicy

source code

generic.Policy --+    
                 |    
          JIPolicy --+
                     |
                    GloballyOptimalJIPolicy

subclass of joint intentions policies that performs a brute force search to determine the best policy of communication, in reference to a single JPG

Instance Methods [hide private]
 
__init__(self, com_mtdp, states, domPolicy, agent, horizon, jpg, achievedMsg, debug=0)
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, com_mtdp, states, domPolicy, agent, horizon, jpg, achievedMsg, debug=0)
(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