|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Selector | |
| modelling | Modelling of the main features of a world and agents' behaviours. |
| sema | Extensible Multi-Agent Simulator. |
| Uses of Selector in modelling |
| Methods in modelling that return Selector | |
Selector |
Message.getSelector()
Returns the Selector selector |
Selector |
Pheromone.getSelector()
Returns the selector. |
Selector |
Selector.or(Selector sel)
Executes the logical fonction or between the current selector and the given one. |
Selector |
Selector.and(Selector sel)
Executes the logical fonction and between the current selector and the given one. |
Selector |
Selector.not()
Executes the logical fonction not on that selector. |
| Methods in modelling with parameters of type Selector | |
void |
PheromoneUserAgent.letPheromone(java.lang.String contents,
float during,
Selector selector)
Secrets a pheromone at the place of the same place than the agent with the given contents and during. |
java.util.Vector |
SeeingAgent.watchFor(Selector sel)
Returns the nearest element responding to the criterium induced by the given Selector in the vision field of the agent. |
Element |
SeeingAgent.watchForNearest(Selector sel)
Returns the nearest visible element fiting the given selector. |
Selector |
Selector.or(Selector sel)
Executes the logical fonction or between the current selector and the given one. |
Selector |
Selector.and(Selector sel)
Executes the logical fonction and between the current selector and the given one. |
java.util.Vector |
Vision.watchFor(Selector selector)
Searchs for all the visible elements fiting a given selector, 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. |
| Constructors in modelling with parameters of type Selector | |
Pheromone(World world,
Area area,
java.awt.Image image,
java.lang.String contents,
double during,
Selector selector)
Creates a new pheromone that may be percieved by the element satisfying the selector. |
|
| Uses of Selector in sema |
| Subclasses of Selector in sema | |
class |
Nature.CanSee
Selector determinating if his element can see some other. |
protected class |
Nature.GoodKind
Generic Selector to select the elements of a given kind. |
| Methods in sema that return Selector | |
Selector |
Signal.getSelector()
Computes whether an element can receive the signal. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||