Package teamwork :: Package math :: Module Keys :: Class BinaryKey
[hide private]
[frames] | no frames]

Class BinaryKey

source code

object --+            
         |            
      dict --+        
             |        
           Key --+    
                 |    
          StateKey --+
                     |
                    BinaryKey

A StateKey whose values will be either 0. or 1.


Warning: the code does not enforce this restriction; it merely exploits it

Instance Methods [hide private]

Inherited from StateKey: simpleText

Inherited from Key: __copy__, __hash__, __str__, __xml__, instantiate, parse

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

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  keyType = 'binary'

Inherited from StateKey: slots

Inherited from Key: ACTION, CLASS, ENTITIES, ENTITY, STATE, TEST, VALUE

Properties [hide private]

Inherited from object: __class__