| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
dict --+
|
Key
Superclass for all different keys, used for indexing the various symbolic matrices and hyperplanes
|
|||
|
|||
|
|||
|
|||
| Key[] |
|
||
|
|||
| Element |
|
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
keyType =
|
|||
slots =
|
|||
CLASS = 0
|
|||
ENTITY = 1
|
|||
STATE = 2
|
|||
ACTION = 3
|
|||
VALUE = 4
|
|||
ENTITIES = 5
|
|||
TEST = 6
|
|||
|
|||
|
Inherited from |
|||
|
|||
str(x)
|
Allows Key objects to be used as dictionary keys
|
Utility method that takes a mapping from entity references (e.g., 'self', 'actor') to actual entity names (e.g., 'Bill', 'agent0'). It returns a new key string with the substitution applied. Subclasses should override this method for more instantiation of more specialized fields. |
XML Serialization The format looks like:
<key type="self.keyType">
<tag1>value1</tag1>
<tag2>value2</tag2>
...
<tagn>valuen</tagn>
</key>
|
Updates the current key with the elements stored in the given XML element
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 19 16:47:37 2009 | http://epydoc.sourceforge.net |