Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | action.PsychActions.Action --+ | Message
Subclass of Action corresponding to messages, which are realized as attempts to modify the beliefs of others
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
boolean |
|
||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
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 =
the flag indicating that a hearer should be forced to believe this message |
|||
rejectString =
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}
|
x[i]=y
|
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. |
|
Sets the message to force acceptance by the receiver
|
Sets the message to force rejection by the receiver
|
|
|
cmp(x,y)
|
|
|
Translates a structured dictionary representation of an action into a standardized string format (e.g., {'actor':CLF,'type':'violence','object':UrbanPoor} becomes 'CLF-violence-to-UrbanPoor'
|
|
|
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:41 2009 | http://epydoc.sourceforge.net |