Package teamwork :: Package dynamics :: Module arbitraryDynamics
[hide private]
[frames] | no frames]

Module arbitraryDynamics

source code

Classes [hide private]
  BaseDynamics
Class of objects that represent the dynamics of a specific state/belief feature in the simulation
  FunDynamics
  SupportDynamics
Functions [hide private]
 
genericDynamics(entity, actor, object, oldValue, actParam, objParam) source code
 
violence2power(entity, actor, victim, oldPower, invert=None)
Dynamics function for change in power due to act of violence
source code
 
violence2hardship(entity, actor, victim, oldHardship, invert=None)
Dynamics function for change in hardship due to act of violence
source code
 
decay(value, invert=None) source code
 
delta(actor, oldValue, feature) source code
 
nullDynamics(entity, actor, object, oldValue) source code
Variables [hide private]
  DYNAMICS = 'object'
  decayRate = 0.9
  EMPTY_NAMESPACE = None
  EMPTY_PREFIX = None
  StringTypes = (<type 'str'>, <type 'unicode'>)
  XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'