|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AntId | |
anthill | This package contains the main interfaces needed by ant implementors; in particular, it contains the Ant interface, which is the agent interface to be implemented. |
anthill.antnet | This package is a prototype implementation of package
anthill.nest to be used during actual
deployment in a real environment. |
anthill.nest | This package contains the main interfaces needed by nest implementors. |
anthill.nestor | This package is a prototype implementation of package
anthill.nest to be used during Anthill
simulations. |
gnutant | This package contains a simple ant implementation. |
Uses of AntId in anthill |
Methods in anthill that return AntId | |
AntId |
AntView.createAntId()
Creates a new ant identifier. |
Methods in anthill with parameters of type AntId | |
boolean |
AntView.storeReturnNest(AntId aid,
NestId nid)
Store information about the last nest visited by the ant associated with this AntView on the current
nest. |
NestId |
AntView.getReturnNest(AntId aid,
boolean remove)
Returns the identifier of the previous nest in the incoming path, as stored through during the forward trip through method storePreviousNest() . |
Uses of AntId in anthill.antnet |
Classes in anthill.antnet that implement AntId | |
class |
AntIdImpl
Class AntIdImpl is the implementation of AntId to be used in
a deployment environment. |
Uses of AntId in anthill.nest |
Methods in anthill.nest with parameters of type AntId | |
boolean |
Trail.add(AntId id,
NestId source)
Add a pair (ant identifier, previous nest identifier) to Trail object. |
NestId |
Trail.lookup(AntId id,
boolean remove)
Lookup the Trail object in order to obtain the identifier of the nest from which the specified ant arrived. |
Uses of AntId in anthill.nestor |
Classes in anthill.nestor that implement AntId | |
class |
LocalAid
Class LocalAid is the implementation of AntId
to be used during off-line simulation. |
Methods in anthill.nestor that return AntId | |
AntId |
LocalAntView.createAntId()
Creates a new ant identifier. |
Methods in anthill.nestor with parameters of type AntId | |
boolean |
LocalAntView.storeReturnNest(AntId aid,
NestId nid)
Leave trail information on the Trail object stored
in the nest. |
NestId |
LocalAntView.getReturnNest(AntId aid,
boolean remove)
Lookup trail information on the Trail object stored
in the nest and move to the obtained nest. |
boolean |
LocalTrail.add(AntId id,
NestId source)
Add a pair (id, source) to the trail object containing the host. |
NestId |
LocalTrail.lookup(AntId id,
boolean remove)
Lookup this LocalTrail object in order to obtain the
identifier of the nest from which the specified
ant arrived. |
Uses of AntId in gnutant |
Constructors in gnutant with parameters of type AntId | |
ResponseGnutant(RequestId rid,
Resource[] resources,
NestId requestor,
AntId responseId)
Initializes a new ResponseGnutant with the set of resources to be returned, the identifier of the requestor nest and an ant identifier to be used to obtain return information through nests. |
|
TrailGnutant(NestId provider,
KeyHash key,
Resource[] resources,
AntId trailId,
History history)
Initializes a new TrailGnutant with the set of resources to be returned, the identifier of the requestor nest and an ant identifier to be used to obtain return information through nests. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |