fr.lifl.jedi.model.interactionSelection
Class RealizableSingleTargetTuple
java.lang.Object
fr.lifl.jedi.model.interactionSelection.AbstractRealizableTuple<SingleTargetInteraction>
fr.lifl.jedi.model.interactionSelection.RealizableSingleTargetTuple
public class RealizableSingleTargetTuple
- extends AbstractRealizableTuple<SingleTargetInteraction>
Realizable tuple for an interaction with a single target.
- Version:
| JEDI V 2.2 |
| Created the 7th nov. 2008 |
| Created the 4th may 2009 |
- Author:
- See Also:
AbstractRealizableTuple
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RealizableSingleTargetTuple
public RealizableSingleTargetTuple(SingleTargetInteraction i,
Agent source,
Agent target)
- Constructor of the realizable degenerate tuple
- Parameters:
i - The interaction of the tuple.source - The source of the tuple.
set
public void set(SingleTargetInteraction i,
Agent source,
Agent target)
- 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.target - The new target of this tuple.
getTarget
public Agent getTarget()
- Gets the target of the tuple's interaction.
- Returns:
- the target of the tuple's interaction.
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<SingleTargetInteraction>
- 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()