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

Class FunDynamics

source code

BaseDynamics --+
               |
              FunDynamics

Instance Methods [hide private]
 
apply(self, entity, value, action, world, debug=Debugger (0))
Takes an entity with the specified initial value for the feature of interest and returns a new value in response to the specified action being taken within the specified world context (in the form of a dictionary of entity objects, indexed by entity name)
source code

Inherited from BaseDynamics: __init__, getIncrement, instantiate, invert, reset

Method Details [hide private]

apply(self, entity, value, action, world, debug=Debugger (0))

source code 

Takes an entity with the specified initial value for the feature of interest and returns a new value in response to the specified action being taken within the specified world context (in the form of a dictionary of entity objects, indexed by entity name)

Overrides: BaseDynamics.apply
(inherited documentation)