vs.plotagent
Class BasicPerceptionManager

java.lang.Object
  extended by vs.plotagent.BasicPerceptionManager
All Implemented Interfaces:
IAgentModule, IExplainable, IPerceptionManager

public class BasicPerceptionManager
extends java.lang.Object
implements IPerceptionManager


Constructor Summary
BasicPerceptionManager(IPlotAgent owner)
           
 
Method Summary
 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
 IPlotAgent getAgent()
          To get the Agent
 void informCharacters()
          Sends new perceptions and setting elements to the characters
 void registerOperatorResult(OperatorResult or)
          Register operator results
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPerceptionManager

public BasicPerceptionManager(IPlotAgent owner)
Method Detail

explainCausalities

public java.util.Set<FabulaCausality> explainCausalities()
Description copied from interface: IExplainable
Explain the motivations, the causalities or enablements that the interfaced class produced.

Specified by:
explainCausalities in interface IExplainable
Returns:
a set of causality declarations describing an explanation for fabula elements.

explainElements

public java.util.Set<FabulaElement> explainElements()
Description copied from interface: IExplainable
Explain the fabula elements that the interfaced class produced

Specified by:
explainElements in interface IExplainable
Returns:
a set of fabula elements produced by the interfaced class

getAgent

public IPlotAgent getAgent()
Description copied from interface: IAgentModule
To get the Agent

Specified by:
getAgent in interface IAgentModule
Returns:
an Agent that owns this module

informCharacters

public void informCharacters()
Sends new perceptions and setting elements to the characters

Specified by:
informCharacters in interface IPerceptionManager

registerOperatorResult

public void registerOperatorResult(OperatorResult or)
Description copied from interface: IPerceptionManager
Register operator results

Specified by:
registerOperatorResult in interface IPerceptionManager
Parameters:
or - the Operator Result to register