clarion.coordinate
Class ExGScoordinator

java.lang.Object
  extended byclarion.coordinate.ExGScoordinator

public class ExGScoordinator
extends java.lang.Object


Field Summary
protected  TaskAgent agent
          the task agent.
protected  short[][][][] chosenActions
          the chosen action.
protected  double exProb
          the probability of using external action.
protected  Global global
          global settings.
protected  double gsProb
          the probability of using goal action.
protected  short performActionType
          the performed action type.
 
Constructor Summary
ExGScoordinator()
           
ExGScoordinator(TaskAgent agent, Global global)
          constructor.
 
Method Summary
 void coordinate()
          coordination of EX and GS as described in the description.
 void setChosenActions(short[][][][] actions)
          Sets the chosen action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

global

protected Global global
global settings.


agent

protected TaskAgent agent
the task agent.


performActionType

protected short performActionType
the performed action type.


chosenActions

protected short[][][][] chosenActions
the chosen action.


exProb

protected double exProb
the probability of using external action.


gsProb

protected double gsProb
the probability of using goal action.

Constructor Detail

ExGScoordinator

public ExGScoordinator()

ExGScoordinator

public ExGScoordinator(TaskAgent agent,
                       Global global)
constructor.

Parameters:
agent - the task agent.
global - the global settings.
Method Detail

setChosenActions

public void setChosenActions(short[][][][] actions)
Sets the chosen action.

Parameters:
actions - the chosen action to set.

coordinate

public void coordinate()
coordination of EX and GS as described in the description.