Uses of Class
sema.Element

Packages that use Element
examples Some examples of agents and worlds.  
Interface Default graphic interface for sema. 
modelling Modelling of the main features of a world and agents' behaviours.  
sema Extensible Multi-Agent Simulator.  
SEMAbeans Beans used by the interface to display the world. 
worlds Some examples of agents and worlds.  
 

Uses of Element in examples
 

Subclasses of Element in examples
 class AgentTestAction
           
 class AgentTestGrowing
           
 class AgentTestSeeing
          Highlights the circle of his vison radius; is bound to a fixed element by a
 class RandomAgent
           
 class testMovingAgent
          This test the moving agent capacity of random moving, with a system of check point : it moves until it goes in a defined area.
 class testMovingAgent2
          This test the moving agent capacity of random moving, with a system of check point : it moves until it goes in a defined area.
 

Uses of Element in Interface
 

Methods in Interface that return Element
protected  Element SimFileRW.addElement(java.lang.String line, World world)
          Add an element to the world, element corresponding to the string, following the ElementFormat specifications.
 

Methods in Interface with parameters of type Element
 void Sema.setSelectedElement(Element e)
          Sets the selected element.
protected  void SimFileRW.elementChanged(Element e)
          Used to notify that an element has changed since the last file opening, and so will have to be saved.
protected  java.lang.String SimFileRW.codeOf(Element e)
          Returns the string corresponding to the command line of the SIM file, line which was used to instanciate the given element.
 

Uses of Element in modelling
 

Subclasses of Element in modelling
 class CommunicatingAgent
          Agent able to communicate with other agents.
 class EatableAgent
          Agent eatable, and giving amongs of food.
 class EatingAgent
          Agent able to eat other elements.
 class GrowingAgent
          Agent whose size keeps increasing until a maximum size il reached.
 class MovingAgent
          Agent with abilities to move.
 class NewAgent
          Structure dépouillée d'un fichier .java pour implémenter un nouveau type d'agent.
 class Pheromone
          The pheromona acts as a fix signal, that may be percieved and may return its content.
 class PheromoneUserAgent
          Agent able to detect and fallow pheromonae.
 class ReceptiveAgent
          Agent able to receive signals.
 class SeeingAgent
          Agent able to watch his environement.
 

Fields in modelling declared as Element
protected  Element CommunicatingAgent.Discussion.partenar
           
protected  Element EatingAgent.EatElement.goal
          Eated element.
 

Methods in modelling that return Element
 Element SeeingAgent.watchNearest()
          Returns the nearest visible element
 Element SeeingAgent.watchForNearest(Selector sel)
          Returns the nearest visible element fiting the given selector.
 Element Vision.watchNearest()
          Searchs for the nearest visible element, with the restrictions of the vision ability.
 Element Vision.watchForNearest(Selector selector)
          Searchs for the nearest visible element fiting a given selector, with the restrictions of the vision ability.
 

Methods in modelling with parameters of type Element
 void CircularArea.setElement(Element el)
           
 boolean Eatable.canEat(Element el)
          Determinates if the agent may eat it by the given element.
 boolean EatableAgent.canEat(Element element)
          Determinates if the agent may eat it by the given agent.
 boolean ObstacleBox.isFreeFor(Element e)
           
 void PonctualArea.setElement(Element el)
           
 void RectangularArea.setElement(Element el)
           
 int Reproducing.beginCoit(Element el)
          Begins the coit.
 int Reproducing.endCoit(Element el)
          Ends the coit.
 int Reproducing.continueCoit(Element el)
          Keeps on reproducing...
 boolean SeeingAgent.canSee(Element element)
          Determinates whether the given element can be seen by our agent, according to
abstract  boolean Selector.isFiting(Element el)
          Computes whether the given element is fiting the requirement of the selector.
 boolean Vision.canSee(Element e)
          Determinates whether the given element can be seen, with the restrictions of the vision ability.
 

Constructors in modelling with parameters of type Element
CommunicatingAgent.Discussion(Element partenar)
          Corresponds to a discussion with one unique element.
EatingAgent.EatElement(Element goal)
           
 

Uses of Element in sema
 

Subclasses of Element in sema
 class Agent
          Basic agent, designed to easily model specific behaviours.
 

Methods in sema that return Element
 Element World.id2element(java.lang.Integer id)
          Returns the elements corresponding to the ID and null if the ID is not attributed.
 

Methods in sema with parameters of type Element
 void Area.setElement(Element el)
          Sets the element to which we want to link the area.
 boolean Box.isFreeFor(Element el)
          Determinate whether the Box can host the Element.
 void Box.register(Element element)
          Register an Element in the Box.
 void Box.unregister(Element element)
          Unregister an element from the Box.
 boolean Element.canTake(Element e)
          Determinates whether the given element can take this one.
 boolean Element.kill(Element killer)
          Tries to kill this element by the specified one.
 float Nature.getDistance(Element element1, Element element2)
          Returns the distance between two elements.
 Nature.CanSee Nature.getCanSee(Element el)
          Method returning an implementation of the Selector CanSee
 boolean Nature.CanSee.isFiting(Element el)
           
 boolean Nature.GoodKind.isFiting(Element el)
           
protected  java.lang.Integer World.register(Element el)
          Registers an element and returns its new ID.
protected  void World.unregister(Element el)
          Unregisters an element.
 

Constructors in sema with parameters of type Element
Nature.CanSee(Element ag)
           
 

Uses of Element in SEMAbeans
 

Methods in SEMAbeans with parameters of type Element
 void ZGCarteSEMA.setSelectedElement(Element selectedElement)
          Sets the selected element.
 

Uses of Element in worlds
 

Subclasses of Element in worlds
 class RandomAgentOneByBox