|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple<MultipleTargetInteraction>
fr.lifl.jedi.model.interactionSelection.RealizableMultipleTargetTuple
public class RealizableMultipleTargetTuple
Realizable tuple for an interaction with a number of targets that depends on the situation of the source agent.
JEDI V 2.2 |
Created the 7th nov. 2008 |
Modified the 4th may 2009 |
Yoann Kubera |
SMAC Team (Systèmes Multi-Agents et Comportement) |
LIFL (Laboratoire d'Informatique Fondamentale de Lille) |
University of Lille, France |
AbstractRealizableTuple
Field Summary |
---|
Fields inherited from class fr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple |
---|
interaction, source |
Constructor Summary | |
---|---|
RealizableMultipleTargetTuple(MultipleTargetInteraction i,
Agent source)
Constructor of the realizable degenerate tuple |
Method Summary | |
---|---|
void |
addTarget(Agent a)
Adds a target to this realizable tuple. |
java.util.List<Agent> |
getTargets()
Gets the targets of the tuple's interaction. |
void |
performInteraction(Environment e)
This method performs the interaction with the source agent as initiator. |
void |
set(MultipleTargetInteraction i,
Agent source)
Changes the values contained in the tuple to other values. |
java.lang.String |
toString()
|
Methods inherited from class fr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple |
---|
getInteraction, getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RealizableMultipleTargetTuple(MultipleTargetInteraction i, Agent source)
i
- The interaction of the tuple.source
- The source of the tuple.Method Detail |
---|
public void set(MultipleTargetInteraction i, Agent source)
This method removes all the targets of the tuple.
i
- The new interaction represented by this tuple.source
- The new source of this tuple.public java.util.List<Agent> getTargets()
public void addTarget(Agent a)
a
- The target agent to add to this tuple.public void performInteraction(Environment e)
AbstractRealizableTuple
performInteraction
in class AbstractRealizableTuple<MultipleTargetInteraction>
e
- The environment where the interaction is performed.AbstractRealizableTuple.performInteraction(fr.lifl.jedi.model.Environment)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |