edu.udo.cs.ie.cowbots.ui
Class BDIViewFrame.ViewUpdater

Package class diagram package BDIViewFrame.ViewUpdater
java.lang.Object
  extended by edu.udo.cs.ie.cowbots.ui.BDIViewFrame.ViewUpdater
All Implemented Interfaces:
ICowbotUI
Enclosing class:
BDIViewFrame

 class BDIViewFrame.ViewUpdater
extends java.lang.Object
implements ICowbotUI


Field Summary
(package private)  java.lang.String agentName
           
 
Constructor Summary
BDIViewFrame.ViewUpdater(java.lang.String agentName)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agentName

java.lang.String agentName
Constructor Detail

BDIViewFrame.ViewUpdater

BDIViewFrame.ViewUpdater(java.lang.String agentName)
Method Detail

updateBeliefSet

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

Specified by:
updateBeliefSet in interface ICowbotUI

updateBeliefState

public void updateBeliefState(ELP beliefState)
Description copied from interface: ICowbotUI
this method is used to update a belief state view of an agent

Specified by:
updateBeliefState in interface ICowbotUI

updateDesireState

public void updateDesireState(IDesireState desState)
Description copied from interface: ICowbotUI
this method is used to update the desire state view of an agent

Specified by:
updateDesireState in interface ICowbotUI

updateIntentionState

public void updateIntentionState(java.lang.String is)
Description copied from interface: ICowbotUI
this method is used to update the intention state view of an agent.

Specified by:
updateIntentionState in interface ICowbotUI

updateCluster

public void updateCluster(java.util.List<CowCluster> clusters)
Description copied from interface: ICowbotUI
this method updates the cow clusters that an agent created.

Specified by:
updateCluster in interface ICowbotUI
Parameters:
clusters - list of rectangles representing cluster rectangle

updateAgentPath

public void updateAgentPath(java.util.List<java.awt.Point> agPath)
Description copied from interface: ICowbotUI
this method updates an agent's path to her desired location

Specified by:
updateAgentPath in interface ICowbotUI
Parameters:
agPath - agent path in point representation

updateExPlanner

public void updateExPlanner(java.util.List<java.lang.String> infos)
Description copied from interface: ICowbotUI
this method updates an agent's planner status

Specified by:
updateExPlanner in interface ICowbotUI