Package teamwork :: Package test :: Package agent :: Module testRecursiveAgent :: Class TestRecursiveAgentIraq
[hide private]
[frames] | no frames]

Class TestRecursiveAgentIraq

source code

unittest.TestCase --+
                    |
                   TestRecursiveAgentIraq

Instance Methods [hide private]
 
setUp(self)
Creates the instantiated scenario used for testing
source code
 
verifyState(self, entity)
Checks whether the state vector is well formed
source code
 
verifyGlobalState(self, entities)
Checks whether the scenario state is well formed
source code
 
testLocalState(self) source code
 
testState(self) source code
 
testDynamics(self) source code
 
verifyEffect(self, entities, action)
Check the result of the given action
source code
 
testAction(self) source code
 
testValueAttack(self) source code
 
testValueWait(self) source code
 
testPolicy(self) source code
 
DONTtestPolicyCompilation(self) source code
 
DONTtestRuleReplacement(self) source code
 
DONTtestCompilationDeterminism(self) source code
 
DONTtestPolicyPruning(self) source code
 
DONTtestProjectionGeneration(self) source code
 
detailedMultiply(self, set1, set2, attributes, values) source code
 
DONTtestValueFunction(self) source code
 
verifyValueFunction(self, entity) source code
 
DONTtestCompile(self) source code
Class Variables [hide private]
  debug = False
  profile = False
Method Details [hide private]

verifyGlobalState(self, entities)

source code 

Checks whether the scenario state is well formed

Parameters:

verifyEffect(self, entities, action)

source code 

Check the result of the given action

Parameters:
  • entities (PsychAgents) - the scenario to which the action has been applied
  • action (Action) - the action performed