decisionMakingSystem
Interface DecisionModule

Package class diagram package DecisionModule
All Known Implementing Classes:
DecisionModuleImpl

public interface DecisionModule

Defines the interface which decision module gives to other modules around (like memory, agent).

Author:
Ondrej

Method Summary
 void addIntention(String name, Interval actInterval)
          Allows external modules to introduce a new intention to the plan.
 DMSMemoryVO doReasoning(int time)
          Does reasoning - in the end executes some atomic action.
 Action getActualAction()
           
 AtomicAction getActualAtomicAction()
           
 Intention getActualIntention()
           
 int getCounter()
           
 double getGMTTime()
           
 AtomicAction getOldAtomicAction()
           
 

Method Detail

getActualAction

Action getActualAction()
Returns:
Action performed at the moment.

doReasoning

DMSMemoryVO doReasoning(int time)
Does reasoning - in the end executes some atomic action.

Returns:
value object with some basic info about the last iteration.

getActualIntention

Intention getActualIntention()
Returns:
Intention in progress

getCounter

int getCounter()
Returns:
counter - e.g. ticks of logic from the beginning of the simulation.

getActualAtomicAction

AtomicAction getActualAtomicAction()
Returns:
Actual atomic action which is being executed.

getGMTTime

double getGMTTime()
Returns:
GMT time - e.g. the difference between the timezones of agent's origin and agent's current location.

getOldAtomicAction

AtomicAction getOldAtomicAction()
Returns:
old atomic action - atomic action performed before the change to a next one. (set only for one tick of logic)

addIntention

void addIntention(String name,
                  Interval actInterval)
Allows external modules to introduce a new intention to the plan. Inserted intention's name must be among the names available to the agent.

Parameters:
name - - name of the intention (e.g. IEat)
actInterval - - activation interval of the new intention


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.