galatea.glorias
Class Ags

java.lang.Object
  extended bygalatea.hla.Agent
      extended bygalatea.glorias.Ags
All Implemented Interfaces:
java.lang.Runnable

public class Ags
extends Agent
implements java.lang.Runnable


Field Summary
 
Fields inherited from class galatea.hla.Agent
agentId, agentType, clock, inputs, outputs, population
 
Constructor Summary
Ags()
          Ag constructor
 
Method Summary
 void cycle()
          The main cycle/locus of control of the agent
 void execute()
          This method is called whenever the agent tries to execute its intentions.
static void main(java.lang.String[] argv)
          The agent's starting point when used as an application.
 void observe()
          This method is used by the agent to update its knowledge of its environment.
 void reason()
          This method implements the reasoning engine of the agent.
 void run()
          The agent's starting point when used as a thread.
 
Methods inherited from class galatea.hla.Agent
getAgentId, input, isReasoningSuspended, resumeReasoning, stopReasoning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ags

public Ags()
Ag constructor

Method Detail

cycle

public void cycle()
The main cycle/locus of control of the agent


execute

public void execute()
This method is called whenever the agent tries to execute its intentions.


main

public static void main(java.lang.String[] argv)
The agent's starting point when used as an application.


observe

public void observe()
This method is used by the agent to update its knowledge of its environment.


reason

public void reason()
This method implements the reasoning engine of the agent. This is just a testing device.


run

public void run()
The agent's starting point when used as a thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class Agent