fr.lifl.jedi.model.halo
Interface PhysicalHalo
- All Known Implementing Classes:
- CircularPhysicalHalo, ConePhysicalHalo, PhysicalHaloBasedOnArea
public interface PhysicalHalo
This class represents the physical halo of an agent, i.e. a ground surface in which
other agents are perceived.
- Version:
JEDI V 2.3 |
Created the 10 juin 2009 |
- Author:
Method Summary |
void |
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 |
rotate(double angle)
This method rotates the perceived ground surface according to the direction
of the halo's owner. |
perceive
void 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.
- Parameters:
env
- The environment where agents are perceived.source
- The agent that perceives thanks to this halo.perceivedAgents
- The list where perceived agents are added.
rotate
void rotate(double angle)
- This method rotates the perceived ground surface according to the direction
of the halo's owner.
- Parameters:
angle
- The angle from which the owner of the halo turns.