|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lifl.jedi.model.interactionDeclaration.AbstractAssignationElement<IntType>
public abstract class AbstractAssignationElement<IntType extends AbstractInteraction<?>>
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.
An interaction might have more than one target. For computation complexity reasons, only a subset of possible interactions are represented in JEDI :
SingleTargetAssignationElement
that represent SingleTargetInteraction
DegenerateAssignationElement
that represent DegenerateInteraction
MultipleTargetAssignationElement
that represent MultipleTargetInteraction
JEDI V 2.2 |
Created 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 |
Constructor Summary | |
---|---|
AbstractAssignationElement(IntType t)
Constructor of an AbtractAssignationElement. |
Method Summary | |
---|---|
abstract AbstractAssignationElement<IntType> |
clone()
|
IntType |
getInteraction()
Gets the interaction associated with this assignation element. |
abstract 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 . |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractAssignationElement(IntType t) throws java.lang.NullPointerException
t
- the interaction associated with this assignation element.
java.lang.NullPointerException
- if t
is null.Method Detail |
---|
public IntType getInteraction()
public abstract void listAllRealizableTuples(Environment e, Agent source, java.util.Set<Agent> neighbors, java.util.List<AbstractRealizableTuple<?>> tuples)
tuples
all realizable tuples that can be
built for the source
agent, which has a set of neighbors
neighbors
.
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.public abstract AbstractAssignationElement<IntType> clone()
clone
in class java.lang.Object
Object.clone()
public abstract 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 |