|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvs.characteragent.BehaviourLayer
vs.characteragent.CharacterProcess
public class CharacterProcess
CharacterProcess is meant to capture the step cycle that an agent goes through, in which it appraises and copes with changes in its environment. A character process is also responsible for selecting a way to act, based on the process.
Constructor Summary | |
---|---|
CharacterProcess(ICharacterAgent agent)
Constructor |
Method Summary | |
---|---|
void |
appraise()
Performs cognitive appraisal |
void |
cope()
Performs coping |
java.util.Set<FabulaCausality> |
explainCausalities()
Explain the motivations, the causalities or enablements that the interfaced class produced. |
java.util.Set<FabulaElement> |
explainElements()
Explain the fabula elements that the interfaced class produced |
ICharacterAgent |
getAgent()
Returns the character agent that this character process belongs to |
DeliberativeLayer |
getDeliberativeLayer()
Retrieves the deliberative layer (i.e., goals and plans based layer) of this character process |
ReactiveLayer |
getReactiveLayer()
Retrieves the reactive layer (i.e., reactive rule based layer) of this character process |
StoryAction |
selectAction()
Selects and returns an action that the character would want to perform. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharacterProcess(ICharacterAgent agent)
agent
- the owner of this character processMethod Detail |
---|
public ReactiveLayer getReactiveLayer()
public DeliberativeLayer getDeliberativeLayer()
public ICharacterAgent getAgent()
getAgent
in class BehaviourLayer
public java.util.Set<FabulaCausality> explainCausalities()
IExplainable
explainCausalities
in interface IExplainable
explainCausalities
in class BehaviourLayer
public java.util.Set<FabulaElement> explainElements()
IExplainable
explainElements
in interface IExplainable
explainElements
in class BehaviourLayer
public void appraise()
appraise
in class BehaviourLayer
public void cope()
cope
in class BehaviourLayer
public StoryAction selectAction()
selectAction
in class BehaviourLayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |