galatea.hla
Class LInfluences

java.lang.Object
  extended bygalatea.glider.List
      extended bygalatea.hla.LInfluences

public final class LInfluences
extends List

Class LInfluences definition.
This class represents the list of the agents' influences.
-----
Esta clase representa la lista de las influencias de los agentes.

Version:
1 14/07/01
Author:
K. Tucci, J. Dávila

Field Summary
 
Fields inherited from class galatea.glider.List
head, name, num
 
Method Summary
 void add(Agent who, Output method, double te)
          This methods adds a new influence to the list of Influences.
 
Methods inherited from class galatea.glider.List
add, add, empty, equals, extract, getAnt, getDat, getDat, getDat, getHead, getName, getNext, getOrder, getPos, getPos, insert, insert, ll, next, remove, remove, setDat, setPos, setPos, setPos, stat, toString, valPos, valPos
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

add

public void add(Agent who,
                Output method,
                double te)
This methods adds a new influence to the list of Influences. It requires the agent that posted the influence, the associated method, and the execution time.
-----
Este método agrega una nueva influencia a la lista de influencias. Se requiere el agente que ejerce la influencia, el método asociado y el tiempo de ejecución.

Parameters:
who - Agent. Agent that posted the influence.
-----
who - Agent. Agente que ejerce la influencia.

method - Method. It is the associated method to execute the influence.
-----
method - Method. Este es el método asociado para ejecutar la influencia.

te - double. Execution time of the influence.
-----
te - double. Tiempo de ejecución de la influencia.