Package teamwork :: Package policy :: Module generic :: Class GenericPolicy
[hide private]
[frames] | no frames]

Class GenericPolicy

source code

Policy --+
         |
        GenericPolicy

Generic class for a policy that is specified as a table

Instance Methods [hide private]
 
__init__(self, actionTable) source code
 
execute(self, state, choices, debug=0) source code
 
getNodes(self, depth=-1, node=None) source code
 
__str__(self) source code
 
printTable(self, table, depth) source code
Method Details [hide private]

__init__(self, actionTable)
(Constructor)

source code 
Overrides: Policy.__init__

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

source code 
Overrides: Policy.execute