edu.udo.cs.ie.cowbots.ui
Interface ICowbotUI

Package class diagram package ICowbotUI
All Known Implementing Classes:
BDIViewFrame.ViewUpdater, DummyUI

public interface ICowbotUI

basic interface for all bdi components to update their visualization. during initialization, each agent creates his own ui and is responsible for refreshing it.


Method Summary
 void updateAgentPath(java.util.List<java.awt.Point> agPath)
          this method updates an agent's path to her desired location
 void updateBeliefSet(java.util.Collection<ELPLiteral> beliefSet, IdentTable it, GridMap map)
          this method is used to update the belief set view of an agent
 void updateBeliefState(ELP beliefState)
          this method is used to update a belief state view of an agent
 void updateCluster(java.util.List<CowCluster> clusters)
          this method updates the cow clusters that an agent created.
 void updateDesireState(IDesireState desState)
          this method is used to update the desire state view of an agent
 void updateExPlanner(java.util.List<java.lang.String> infos)
          this method updates an agent's planner status
 void updateIntentionState(java.lang.String is)
          this method is used to update the intention state view of an agent.
 

Method Detail

updateBeliefSet

void updateBeliefSet(java.util.Collection<ELPLiteral> beliefSet,
                     IdentTable it,
                     GridMap map)
this method is used to update the belief set view of an agent

Parameters:
beliefSet -
it -
map -

updateBeliefState

void updateBeliefState(ELP beliefState)
this method is used to update a belief state view of an agent

Parameters:
beliefState -

updateDesireState

void updateDesireState(IDesireState desState)
this method is used to update the desire state view of an agent

Parameters:
desState -

updateIntentionState

void updateIntentionState(java.lang.String is)
this method is used to update the intention state view of an agent.

Parameters:
is -

updateCluster

void updateCluster(java.util.List<CowCluster> clusters)
this method updates the cow clusters that an agent created.

Parameters:
clusters - list of rectangles representing cluster rectangle

updateAgentPath

void updateAgentPath(java.util.List<java.awt.Point> agPath)
this method updates an agent's path to her desired location

Parameters:
agPath - agent path in point representation

updateExPlanner

void updateExPlanner(java.util.List<java.lang.String> infos)
this method updates an agent's planner status

Parameters:
infos -