Package teamwork :: Package math :: Module KeyedMatrix :: Class ActionCountMatrix
[hide private]
[frames] | no frames]

Class ActionCountMatrix

source code

object --+            
         |            
      dict --+        
             |        
   KeyedMatrix --+    
                 |    
    DynamicsMatrix --+
                     |
                    ActionCountMatrix

A matrix for setting the value of a given feature to a count of a certain type of action

>>> matrix = ActionCountMatrix(source='economicPower',key,value=0.5)
Nested Classes [hide private]
  rowClass
A rows that sets the value to a count of a given type of action
Instance Methods [hide private]

Inherited from DynamicsMatrix: __copy__, __deepcopy__, __init__, __xml__

Inherited from KeyedMatrix: __add__, __delitem__, __hash__, __mul__, __neg__, __setitem__, __sub__, addColumns, addRows, colKeys, colOrder, compose, copyFromArray, deleteColumn, fill, freeze, getArray, instantiate, instantiateKeys, inverse, isIdentity, merge, parse, rowKeys, rowPosition, set, simpleText, unfreeze

Inherited from dict: __cmp__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]

Inherited from KeyedMatrix: defaultValue, dimension

Instance Variables [hide private]

Inherited from KeyedMatrix (private): _array, _fresh, _frozen, _rowKeys, _rowOrder

Properties [hide private]

Inherited from object: __class__