jchrest.architecture
Class EmotionAssociator
java.lang.Object
jchrest.architecture.EmotionAssociator
public class EmotionAssociator
- extends java.lang.Object
A mechanism for managing the associations between nodes and emotions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmotionAssociator
public EmotionAssociator()
addEmotionalTrace
public void addEmotionalTrace(Node node,
EmotionalTrace trace)
setDefaultAlpha
public void setDefaultAlpha(double alpha)
getEmotionalTrace
public EmotionalTrace getEmotionalTrace(Node node)
getRWEmotion
public Emotion getRWEmotion(Node node)
setRWEmotion
public void setRWEmotion(Node node,
Emotion emotion)
emoteAndPropagateAcrossModalities
public void emoteAndPropagateAcrossModalities(Stm[] stms,
int time)
- Retrieve most recent emotion for each STM, and propagate those to all other nodes still in STM.
learnEmotion
public void learnEmotion(Emotion emotion,
Node node,
java.util.List<Node> cues,
int time)
computeVAll
public Emotion computeVAll(java.util.List<Node> cues)
computeRW
public void computeRW(Emotion emotion,
Node node,
java.util.List<Node> cues)
emotionTraceToStdOut
public void emotionTraceToStdOut(Node node)