fr.lifl.jedi.model.interactionDeclaration
Class DegenerateAssignationElement

java.lang.Object
  extended by fr.lifl.jedi.model.interactionDeclaration.AbstractAssignationElement<DegenerateInteraction>
      extended by fr.lifl.jedi.model.interactionDeclaration.DegenerateAssignationElement

public class DegenerateAssignationElement
extends AbstractAssignationElement<DegenerateInteraction>

Class representing an element of a cell of the interaction matrix -- i.e. an interaction that a particular source agent has the ability to initiate.

This assignation element is designed for degenerate interactions -- i.e. interactions that are initiated by a source agent and that target no agents.

Version:
JEDI V 2.2
Created the 4 mai 2009
Author:
Yoann Kubera
SMAC Team (Systèmes Multi-Agents et Comportement)
LIFL (Laboratoire d'Informatique Fondamentale de Lille)
University of Lille, France

Constructor Summary
DegenerateAssignationElement(DegenerateInteraction interaction)
          Constructor of an assignation element that represents an interaction that can occur between a source agent and no target agents.
 
Method Summary
 AbstractAssignationElement<DegenerateInteraction> clone()
           
 void listAllRealizableTuples(Environment e, Agent source, java.util.Set<Agent> neighbors, java.util.List<AbstractRealizableTuple<?>> tuples)
          Adds to the list tuples all realizable tuples that can be built for the source agent, which has a set of neighbors neighbors.
 java.lang.String toString()
           
 
Methods inherited from class fr.lifl.jedi.model.interactionDeclaration.AbstractAssignationElement
getInteraction
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DegenerateAssignationElement

public DegenerateAssignationElement(DegenerateInteraction interaction)
Constructor of an assignation element that represents an interaction that can occur between a source agent and no target agents.

Parameters:
interaction - The interaction associated with this assignation element.
Method Detail

listAllRealizableTuples

public void listAllRealizableTuples(Environment e,
                                    Agent source,
                                    java.util.Set<Agent> neighbors,
                                    java.util.List<AbstractRealizableTuple<?>> tuples)
Description copied from class: AbstractAssignationElement
Adds to the list tuples all realizable tuples that can be built for the source agent, which has a set of neighbors neighbors.

Specified by:
listAllRealizableTuples in class AbstractAssignationElement<DegenerateInteraction>
Parameters:
e - The environment where the interaction takes place.
source - The source agent for which realizable tuples are listed.
neighbors - The set of neighbors of the source agent.
tuples - The list where the realizable tuples are added.
See Also:
AbstractAssignationElement.listAllRealizableTuples(fr.lifl.jedi.model.Environment, fr.lifl.jedi.model.Agent, java.util.Set, java.util.List)

clone

public AbstractAssignationElement<DegenerateInteraction> clone()
Specified by:
clone in class AbstractAssignationElement<DegenerateInteraction>
See Also:
AbstractAssignationElement.clone()

toString

public java.lang.String toString()
Specified by:
toString in class AbstractAssignationElement<DegenerateInteraction>
See Also:
AbstractAssignationElement.toString()