Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | action.PsychActions.Action --+ | messages.PsychMessage.Message --+ | ThespianMessage
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
fields =
the available keys for messages of this class (unless otherwise noted, the value under each key is a string) |
|||
acceptString = 'accept' the flag indicating that a hearer should be forced to believe this message |
|||
rejectString = 'reject' the flag indicating that a hearer should be forced to disbelieve this message |
|||
Inherited from |
|
|||
Inherited from |
|
Translates an action in string form into a structured representation of that same action (e.g., 'CLF-violence-to-UrbanPoor' becomes a PsychAction object {'actor':CLF,'type':'violence','object':UrbanPoor}
|
The string representation of a non-command message is: <key11>:<key12>:...:<key1n>=<value1>;<key21>:<key22>:...:<key2m>=<value2>;... e.g., entities:Psyops:state:power=0.7;entities:Paramilitary:entities:Psyops:state:power=0.7 e.g., message Psyops Paramilitary entities:Psyops:policy:observation depth 3 actor Paramilitary type violence object UrbanPoor violence-to-Paramilitary For commands, the syntax is 'command;<key1>=<val1>;<key2>=<val2>;...', where the usual keys are 'object' (e.g., 'opponent') and 'type' (e.g., 'violence'). This same format is expected by the constructor and returned by the string converter. |
|
repr(x)
|
Returns a more user-friendly string rep of this message
|
|
fieldsthe available keys for messages of this class (unless otherwise noted, the value under each key is a string)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 19 16:47:24 2009 | http://epydoc.sourceforge.net |