edu.udo.cs.ie.cowbots.bdi.brf
Interface IEpistemicState

Package class diagram package IEpistemicState
All Known Implementing Classes:
CowbotRevision, exRevision

public interface IEpistemicState

basic interface for any class that represents an agent's epistemic state.


Method Summary
 java.util.List<Literal> getBeliefs(ELP addRules)
          returns the beliefs (a list of Literals) representing an agent's belief set. the addRules parameter lets the caller specify additional inference rules.
 ELP getBeliefsAsELP()
          returns the belief set as an elp
 BeliefSet getBeliefSet()
          this method returns an agents belief set.
 java.util.List<ELPLiteral> getExploredCells()
          this method returns a list of new, but not not necessarily revised, perceptions.
 GridMap getMap()
          this function returns the beliefs about an agents environment as a gridmap.
 java.util.Queue<Message> getMessages()
          this function returns the queue of unprocessed messages
 ELP getProgram(java.lang.String name)
          returns a user program identified by a unique name (user programs are not part of the belief revision process over the epistemic state)
 int getWorldTime()
          returns the time of the world (this is the time the agent beliefs in)
 

Method Detail

getBeliefs

java.util.List<Literal> getBeliefs(ELP addRules)
returns the beliefs (a list of Literals) representing an agent's belief set. the addRules parameter lets the caller specify additional inference rules.

Parameters:
addRules - (optional) inference rules
Returns:
belief set

getBeliefsAsELP

ELP getBeliefsAsELP()
returns the belief set as an elp


getMessages

java.util.Queue<Message> getMessages()
this function returns the queue of unprocessed messages


getMap

GridMap getMap()
this function returns the beliefs about an agents environment as a gridmap.

Returns:
gridmap with beliefs about the environment

getBeliefSet

BeliefSet getBeliefSet()
this method returns an agents belief set.

Returns:
belief set of an agent

getExploredCells

java.util.List<ELPLiteral> getExploredCells()
this method returns a list of new, but not not necessarily revised, perceptions.

Returns:
collection of recent observations

getWorldTime

int getWorldTime()
returns the time of the world (this is the time the agent beliefs in)

Returns:
time of world

getProgram

ELP getProgram(java.lang.String name)
returns a user program identified by a unique name (user programs are not part of the belief revision process over the epistemic state)

Parameters:
name - unique name of program
Returns:
elp matching given name or null