|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Agent | |
---|---|
fr.lifl.jedi.controllersCore | Package where all elements used to run a simulation are defined, and where means to synchronize different views on the simulation are defined. |
fr.lifl.jedi.controllersCore.orderingPolicies | Package where agent sequence ordering policies are defined. |
fr.lifl.jedi.gui.display.agentsNumber | This package contains the definition of a GUI that display the number of instances of every agent families of a simulation. |
fr.lifl.jedi.gui.display.colorGrid | This package defines a GUI that displays the simulation as an image, where agents are drawn with color shapes or icons. |
fr.lifl.jedi.gui.display.colorGrid.view | This package defines the view elements of the GUI that displays the environment as an image. |
fr.lifl.jedi.gui.display.colorGrid.view.agentDisplay | Package that defines different tools to draw agents in the Color Grid. |
fr.lifl.jedi.gui.display.interactionDisplayer.model.tree | This package defines a GUI that displays the simulation as an image, where agents are drawn with color shapes or icons. |
fr.lifl.jedi.model | This package provides the classes required to design the model of a simulation in JEDI. |
fr.lifl.jedi.model.halo | This package provides the classes required to design the model of a simulation in JEDI. |
fr.lifl.jedi.model.interactionDeclaration | This package defines the classes required to design the interaction matrix of a simulation. |
fr.lifl.jedi.model.interactionSelection | This package defines the elements required to perform interaction selection. |
fr.lifl.jedi.model.interactionSelection.reactiveSelection | |
fr.lifl.jedi.util | This package defines tools used in the other packages of JEDI. |
Uses of Agent in fr.lifl.jedi.controllersCore |
---|
Method parameters in fr.lifl.jedi.controllersCore with type arguments of type Agent | |
---|---|
void |
AgentOrderingPolicy.reorder(java.util.List<Agent> list)
Reorders the list of agents according to the policy. |
Uses of Agent in fr.lifl.jedi.controllersCore.orderingPolicies |
---|
Method parameters in fr.lifl.jedi.controllersCore.orderingPolicies with type arguments of type Agent | |
---|---|
void |
RandomAgentOrderingPolicy.reorder(java.util.List<Agent> list)
|
Uses of Agent in fr.lifl.jedi.gui.display.agentsNumber |
---|
Methods in fr.lifl.jedi.gui.display.agentsNumber that return types with arguments of type Agent | |
---|---|
java.lang.Class<? extends Agent> |
AgentNumberNode.getFamily()
Gets the agent family associated with this GUI. |
Constructor parameters in fr.lifl.jedi.gui.display.agentsNumber with type arguments of type Agent | |
---|---|
AgentNumberNode(java.lang.Class<? extends Agent> family)
Constructor of a node that represents the number of instances of a particular agent class. |
Uses of Agent in fr.lifl.jedi.gui.display.colorGrid |
---|
Method parameters in fr.lifl.jedi.gui.display.colorGrid with type arguments of type Agent | |
---|---|
AgentDisplayer |
ColorGridModel.getHowToDisplay(java.lang.Class<? extends Agent> a)
Gets how an agent from a particular agent class is displayed in the GUI. |
void |
ColorGridModel.setHowToDisplay(java.lang.Class<? extends Agent> a,
AgentDisplayer das)
Defines how an agent from a particular agent class is displayed in the GUI. |
Uses of Agent in fr.lifl.jedi.gui.display.colorGrid.view |
---|
Methods in fr.lifl.jedi.gui.display.colorGrid.view with parameters of type Agent | |
---|---|
void |
AgentDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
Displays the agent in the environment. |
boolean |
AgentDisplayer.isDisplayable(Agent a)
Checks if the agent is displayed in GUI or not. |
Uses of Agent in fr.lifl.jedi.gui.display.colorGrid.view.agentDisplay |
---|
Methods in fr.lifl.jedi.gui.display.colorGrid.view.agentDisplay with parameters of type Agent | |
---|---|
void |
ColorRectangleDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
StaticColorRectangleDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
EmptyDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
StaticIconDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
ColorTriangleDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
IconDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
void |
ColorRectangleWithLineDisplayer.drawAgent(java.awt.Graphics g,
Environment e,
Agent a,
int factor,
int height)
|
java.awt.Image |
StaticIconDisplayer.getIconFor(Agent a)
Gets the icon used to display a particular agent instance. |
java.awt.Image |
IconDisplayer.getIconFor(Agent a)
Gets the icon used to display a particular agent instance. |
protected double |
StaticColorTriangleDisplayer.getTriangleHeightInEnvironmentUnits(Agent a)
Gets the width of the triangle, in environment units. |
protected double |
ColorTriangleDisplayer.getTriangleHeightInEnvironmentUnits(Agent a)
Gets the width of the triangle, in environment units. |
protected double |
StaticColorTriangleDisplayer.getTriangleWidthInEnvironmentUnits(Agent a)
Gets the width of the triangle, in environment units. |
protected double |
ColorTriangleDisplayer.getTriangleWidthInEnvironmentUnits(Agent a)
Gets the width of the triangle, in environment units. |
boolean |
ColorRectangleDisplayer.isDisplayable(Agent a)
|
boolean |
StaticColorRectangleDisplayer.isDisplayable(Agent a)
|
boolean |
EmptyDisplayer.isDisplayable(Agent a)
|
boolean |
StaticIconDisplayer.isDisplayable(Agent a)
|
boolean |
ColorTriangleDisplayer.isDisplayable(Agent a)
|
boolean |
IconDisplayer.isDisplayable(Agent a)
|
boolean |
ColorRectangleWithLineDisplayer.isDisplayable(Agent a)
|
Uses of Agent in fr.lifl.jedi.gui.display.interactionDisplayer.model.tree |
---|
Methods in fr.lifl.jedi.gui.display.interactionDisplayer.model.tree with parameters of type Agent | |
---|---|
PerformedInteractionsInstanceNode |
PerformedInteractionsFamilyNode.getNodeForInstance(Agent a)
Gets the node that represents the data of a particular agent. |
void |
PerformedInteractionsFamilyNode.setAlive(Agent a,
int step)
Tells the node that an agent instance is alive. |
void |
PerformedInteractionsFamilyNode.updateAgentSourceParticipation(Agent a,
AbstractRealizableTuple<?> tuple,
int step)
Updates the data of an agent, in the case where that agent was the source of a particular interaction. |
void |
PerformedInteractionsFamilyNode.updateAgentTargetParticipation(Agent a,
AbstractRealizableTuple<?> tuple,
int step)
Updates the data of an agent, in the case where that agent was the target of a particular interaction. |
Method parameters in fr.lifl.jedi.gui.display.interactionDisplayer.model.tree with type arguments of type Agent | |
---|---|
void |
PerformedInteractionsModel.update(java.util.Set<Agent> agtList,
int step)
Update the model that contains all the data related to the interactions that occurred during simulation, according to the list of agents that lie in the environment at the end of the simulation step. |
Constructors in fr.lifl.jedi.gui.display.interactionDisplayer.model.tree with parameters of type Agent | |
---|---|
PerformedInteractionsInstanceNode(Agent a,
int step)
Constructor of the node that represents the data related to an agent instance. |
Uses of Agent in fr.lifl.jedi.model |
---|
Fields in fr.lifl.jedi.model with type parameters of type Agent | |
---|---|
protected java.util.List<Agent> |
Environment.activeAgentsToAdd
The set of all active agents that where added during a simulation step, and passive agent that became active during a simulation step. |
protected java.util.Set<Agent> |
Environment.allAgents
The set of all agents contained in the environment. |
protected java.util.List<Agent> |
Environment.passiveAgentsToRemove
The set of active agents that became passive during a simulation step. |
protected java.util.Set<Agent> |
Environment.EnvironmentCell.theAgents
The set of all agents that are present in this cell. |
Methods in fr.lifl.jedi.model that return types with arguments of type Agent | |
---|---|
java.util.List<Agent> |
Environment.getActiveAgentsToAdd()
Gets the set of all active agents that where added during a simulation step, and the set of all passive agents that became active during a simulation step. |
java.util.Set<Agent> |
Environment.EnvironmentCell.getAgents()
Gets the set of all agents present in this cell. |
java.util.Set<Agent> |
Environment.getAllAgents()
Gets the set of all agents contained in the environment. |
java.util.List<Agent> |
Environment.getPassiveAgentsToRemove()
Gets the set of active agents that became passive during a simulation step. |
Methods in fr.lifl.jedi.model with parameters of type Agent | |
---|---|
void |
Environment.EnvironmentCell.addAgent(Agent a)
Adds an agent to this cell. |
boolean |
Environment.canBePutAt(Agent a,
double x,
double y)
Checks that an agent can move or can be put at the given position in the environment. |
boolean |
Environment.canMoveForward(Agent a,
double distance)
Checks if an agent can move forward, in order to cover a particular distance in the environment. |
boolean |
Environment.canMoveForward(Agent a,
double devAngle,
double distance)
Checks if an agent can turn from a particular angle to the left (defined by devAngle ), and then can move forward, in order to cover a particular
distance in the environment. |
boolean |
Environment.canMoveTowards(Agent src,
Agent tgt,
double d)
Checks if the src agent can move
towards tgt . |
double |
Environment.distance(Agent a1,
Agent a2)
Gets the distance separating two agents. |
void |
Environment.getNeighborhoodInHalo(Agent a,
PhysicalHalo halo,
java.util.Set<Agent> neighborhood)
Gets the set of all the agents which surface intersect a particular surface of the environment -- called the halo of the agent. |
void |
Environment.headTowards(Agent a,
double angle)
Makes the agent head towards a particular direction. |
void |
Environment.moveForward(Agent a,
double distance)
Makes an agent move forward in the environment. |
void |
Environment.moveToPosition(Agent a,
double x,
double y)
Moves an agent to the given position in the environment. |
void |
Environment.moveTowards(Agent src,
Agent tgt,
double d)
Moves an agent towards another agent. |
void |
Environment.putAgent(Agent a,
double x,
double y)
Puts an agent at the given position in the environment. |
void |
Environment.removeAgent(Agent a)
Removes an agent from the environment. |
void |
Environment.EnvironmentCell.removeAgent(Agent a)
Removes an agent from this cell. |
void |
Environment.turnLeft(Agent a,
double angle)
Makes an agent turn left -- i.e. |
void |
Environment.turnRight(Agent a,
double angle)
Makes an agent turn right -- i.e. |
Method parameters in fr.lifl.jedi.model with type arguments of type Agent | |
---|---|
void |
Environment.getNeighborhoodInHalo(Agent a,
PhysicalHalo halo,
java.util.Set<Agent> neighborhood)
Gets the set of all the agents which surface intersect a particular surface of the environment -- called the halo of the agent. |
protected void |
Agent.perceive(Environment e,
java.util.Set<Agent> neighbors)
Triggers the perception phase of the agent. |
Uses of Agent in fr.lifl.jedi.model.halo |
---|
Methods in fr.lifl.jedi.model.halo with parameters of type Agent | |
---|---|
void |
ConePhysicalHalo.notTorusPerception(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
This sub-method is called whenever the perception is made in a not torus environment. |
void |
PhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
This method retrieves from the environment all agents that lie in the ground surface represented by this class. |
void |
ConePhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
void |
CircularPhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
void |
PhysicalHaloBasedOnArea.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
Method parameters in fr.lifl.jedi.model.halo with type arguments of type Agent | |
---|---|
void |
ConePhysicalHalo.notTorusPerception(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
This sub-method is called whenever the perception is made in a not torus environment. |
void |
PhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
This method retrieves from the environment all agents that lie in the ground surface represented by this class. |
void |
ConePhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
void |
CircularPhysicalHalo.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
void |
PhysicalHaloBasedOnArea.perceive(Environment env,
Agent source,
java.util.Set<Agent> perceivedAgents)
|
Uses of Agent in fr.lifl.jedi.model.interactionDeclaration |
---|
Methods in fr.lifl.jedi.model.interactionDeclaration with parameters of type Agent | |
---|---|
boolean |
AbstractInteraction.canPerform(Environment environment,
Agent source,
Targets target)
This method returns true if the agent in parameter can perform the interaction,
i.e. |
abstract boolean |
MultipleTargetInteraction.isNeighborMeetingCriterion(Environment e,
Agent source,
Agent neighbor)
Criterion that returns true if the neighbor of the source agent fits the filtering
criterion. |
void |
DegenerateAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
void |
SingleTargetAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
abstract void |
AbstractAssignationElement.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 . |
void |
MultipleTargetAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
abstract void |
DegenerateInteraction.perform(Environment environment,
Agent source)
Describes the action sequence of this interaction. |
void |
DegenerateInteraction.perform(Environment environment,
Agent source,
Agent target)
|
abstract void |
AbstractInteraction.perform(Environment environment,
Agent source,
Targets target)
Describes the action sequence of this interaction. |
abstract boolean |
DegenerateInteraction.preconditions(Environment environment,
Agent source)
Physical or logical possibility to perform the interaction. |
boolean |
DegenerateInteraction.preconditions(Environment environment,
Agent source,
Agent target)
|
abstract boolean |
AbstractInteraction.preconditions(Environment environment,
Agent source,
Targets target)
Physical or logical possibility to perform the interaction. |
abstract boolean |
DegenerateInteraction.trigger(Environment environment,
Agent source)
Implicit or explicit motivation to perform the interaction. |
boolean |
DegenerateInteraction.trigger(Environment environment,
Agent source,
Agent target)
|
abstract boolean |
AbstractInteraction.trigger(Environment environment,
Agent source,
Targets target)
Implicit or explicit motivation to perform the interaction. |
Method parameters in fr.lifl.jedi.model.interactionDeclaration with type arguments of type Agent | |
---|---|
void |
DegenerateAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
void |
SingleTargetAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
abstract void |
AbstractAssignationElement.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 . |
void |
MultipleTargetAssignationElement.listAllRealizableTuples(Environment e,
Agent source,
java.util.Set<Agent> neighbors,
java.util.List<AbstractRealizableTuple<?>> tuples)
|
Uses of Agent in fr.lifl.jedi.model.interactionSelection |
---|
Fields in fr.lifl.jedi.model.interactionSelection declared as Agent | |
---|---|
protected Agent |
AbstractRealizableTuple.source
The source of the tuple. |
Methods in fr.lifl.jedi.model.interactionSelection that return Agent | |
---|---|
Agent |
AbstractRealizableTuple.getSource()
Gets the initiator (source) of the tuple's interaction. |
Agent |
RealizableSingleTargetTuple.getTarget()
Gets the target of the tuple's interaction. |
Methods in fr.lifl.jedi.model.interactionSelection that return types with arguments of type Agent | |
---|---|
java.util.List<Agent> |
RealizableMultipleTargetTuple.getTargets()
Gets the targets of the tuple's interaction. |
Methods in fr.lifl.jedi.model.interactionSelection with parameters of type Agent | |
---|---|
void |
RealizableMultipleTargetTuple.addTarget(Agent a)
Adds a target to this realizable tuple. |
static RealizableDegenerateTuple |
TuplesObjectPool.createRealizableDegenerateTuple(Agent source,
DegenerateInteraction i)
Creates a realizable degenerate tuple according to the values given in parameters. |
static RealizableMultipleTargetTuple |
TuplesObjectPool.createRealizableMultipleTargetTuple(Agent source,
MultipleTargetInteraction i)
Creates a realizable multiple target tuple according to the values given in parameters. |
static RealizableSingleTargetTuple |
TuplesObjectPool.createRealizableSingleTargetTuple(Agent source,
SingleTargetInteraction i,
Agent target)
Creates a realizable single target tuple according to the values given in parameters. |
void |
RealizableDegenerateTuple.set(DegenerateInteraction i,
Agent source)
Changes the values contained in the tuple to other values. |
void |
RealizableMultipleTargetTuple.set(MultipleTargetInteraction i,
Agent source)
Changes the values contained in the tuple to other values. |
void |
RealizableSingleTargetTuple.set(SingleTargetInteraction i,
Agent source,
Agent target)
Changes the values contained in the tuple to other values. |
Constructors in fr.lifl.jedi.model.interactionSelection with parameters of type Agent | |
---|---|
AbstractRealizableTuple(IntType i,
Agent source)
Constructor of a realizable tuple. |
|
RealizableDegenerateTuple(DegenerateInteraction i,
Agent source)
Constructor of the realizable degenerate tuple |
|
RealizableMultipleTargetTuple(MultipleTargetInteraction i,
Agent source)
Constructor of the realizable degenerate tuple |
|
RealizableSingleTargetTuple(SingleTargetInteraction i,
Agent source,
Agent target)
Constructor of the realizable degenerate tuple |
Uses of Agent in fr.lifl.jedi.model.interactionSelection.reactiveSelection |
---|
Fields in fr.lifl.jedi.model.interactionSelection.reactiveSelection with type parameters of type Agent | |
---|---|
static RandomSelectionNature<Agent> |
RandomSelectionNature.RANDOM_AGENT
Instance of random selection nature that selects agents at random. |
Method parameters in fr.lifl.jedi.model.interactionSelection.reactiveSelection with type arguments of type Agent | |
---|---|
void |
FirstTargetThenInteractionSelectionPolicy.setInteractionSelectionNature(java.lang.Class<? extends Agent> a,
ElementSelectionNature<AbstractRealizableTuple<?>> e)
Sets the nature used to select the interaction that the source agent will initiate. |
void |
FirstTargetThenInteractionSelectionPolicy.setTargetSelectionNature(ElementSelectionNature<Agent> n)
Sets the nature used to select the target agent. |
Uses of Agent in fr.lifl.jedi.util |
---|
Methods in fr.lifl.jedi.util that return types with arguments of type Agent | |
---|---|
java.lang.Class<? extends Agent> |
AgentsPopulation.getRootAgentClass()
Gets the root class of all agent families. |
java.util.List<java.lang.Class<? extends Agent>> |
AgentsPopulation.getSubFamiliesOf(java.lang.Class<? extends Agent> family)
Gets the set of all agent families inheriting directly from the agent family in parameters. |
Method parameters in fr.lifl.jedi.util with type arguments of type Agent | |
---|---|
void |
AgentsPopulation.decrementPopulation(java.lang.Class<? extends Agent> family)
This method decrements the population of a concrete agent family. |
int |
AgentsPopulation.getPopulation(java.lang.Class<? extends Agent> family)
Gets the total population of a particular agent family in the environment. |
java.util.List<java.lang.Class<? extends Agent>> |
AgentsPopulation.getSubFamiliesOf(java.lang.Class<? extends Agent> family)
Gets the set of all agent families inheriting directly from the agent family in parameters. |
void |
AgentsPopulation.incrementPopulation(java.lang.Class<? extends Agent> family)
This method increments the population of a concrete agent family. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |