fr.lifl.jedi.model.interactionSelection
Class RealizableDegenerateTuple

java.lang.Object
  extended by fr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple<DegenerateInteraction>
      extended by fr.lifl.jedi.model.interactionSelection.RealizableDegenerateTuple

public class RealizableDegenerateTuple
extends AbstractRealizableTuple<DegenerateInteraction>

Realizable tuple for a degenerate interaction (an interaction with no target agent).

Version:
JEDI V 2.2
Created the 7th nov. 2008
Created the 4th may 2009
Author:
Yoann Kubera
SMAC Team (Systèmes Multi-Agents et Comportement)
LIFL (Laboratoire d'Informatique Fondamentale de Lille)
University of Lille, France
See Also:
AbstractRealizableTuple

Field Summary
 
Fields inherited from class fr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple
interaction, source
 
Constructor Summary
RealizableDegenerateTuple(DegenerateInteraction i, Agent source)
          Constructor of the realizable degenerate tuple
 
Method Summary
 void performInteraction(Environment e)
          This method performs the interaction with the source agent as initiator.
 void set(DegenerateInteraction 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

RealizableDegenerateTuple

public RealizableDegenerateTuple(DegenerateInteraction i,
                                 Agent source)
Constructor of the realizable degenerate tuple

Parameters:
i - The interaction of the tuple.
source - The source of the tuple.
Method Detail

set

public void set(DegenerateInteraction i,
                Agent source)
Changes the values contained in the tuple to other values.

Parameters:
i - The new interaction represented by this tuple.
source - The new source of this tuple.

performInteraction

public void performInteraction(Environment e)
Description copied from class: AbstractRealizableTuple
This method performs the interaction with the source agent as initiator.

Specified by:
performInteraction in class AbstractRealizableTuple<DegenerateInteraction>
Parameters:
e - The environment where the interaction is performed.
See Also:
AbstractRealizableTuple.performInteraction(fr.lifl.jedi.model.Environment)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()