|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Trail
object.
object <\code> at the end of the queue.
- add(String, float) -
Method in interface anthill.antsim.Stats
- Increment the value of the counter identified by
name
by
value addend
.
- add(String, float) -
Method in class anthill.antsim.impl.StatsImpl
- Increment by 1 the value of the counter identified by
name
.
- addAnt(Ant) -
Method in interface anthill.AntView
- Add a new ant to this nest.
- addAnt(Ant) -
Method in class anthill.nestor.LocalAntView
- FIXME: Implement.
- addAntNeighbour(NestId) -
Method in interface anthill.nest.Nest
- Adds the identifier of a new neighbour nest to the set of
neighbours known to this nest, on behalf of an ant visiting
the nest.
- addAntNeighbour(NestId) -
Method in class anthill.nestor.LocalNest
- Add the identifier of a new neighbour anthill to the set of
neighbours known to this
Nest
, on behalf of
an ant.
- addAntResource(Resource) -
Method in interface anthill.nest.Storage
- Adds a resource to the storage.
- addAntResource(Resource) -
Method in class anthill.nestor.LocalStorage
- Add a resource to the storage.
- addClientNeighbour(NestId) -
Method in interface anthill.nest.Nest
- Adds the identifier of a new neighbour nest to the set of
neighbours known to this nest, on behalf of the nest user.
- addClientNeighbour(NestId) -
Method in class anthill.nestor.LocalNest
- Add the identifier of a new neighbour anthill to the set of
neighbours known to this
Nest
, on behalf of
an Nest client.
- addClientResource(Resource) -
Method in interface anthill.nest.Storage
- Add a resource to the storage.
- addClientResource(Resource) -
Method in class anthill.nestor.LocalStorage
- Add a resource to the storage.
- addGeneticCode(GeneticCode) -
Method in interface anthill.genie.GeneticScenario
- Set the genetic code(s) to be evaluated.
- addGeneticCode(GeneticCode) -
Method in interface anthill.genie.GeneticExperiment
- Set the genetic code to be evaluated.
- addGeneticCode(GeneticCode) -
Method in interface anthill.genie.GeneticNest
- Add a new genetic code to the set of genetic codes known to this
nest.
- addGeneticCode(GeneticCode) -
Method in class anthill.genie.impl.GeneticScenarioImpl
- Set the genetic code to be evaluated.
- addGeneticCode(GeneticCode) -
Method in class anthill.genie.impl.GeneticExperimentImpl
- Set the genetic code to be evaluated.
- addGeneticCode(GeneticCode) -
Method in class anthill.nestor.LocalGeneticNest
- Add a new genetic code to the set of genetic codes known to this anthill.
- addNeighbour(NestId) -
Method in interface anthill.AntView
- Ants invoke this method to add the identifier of a new neighbour
nest to the set of neighbours known to the current nest.
- addNeighbour(NestId) -
Method in class anthill.nestor.LocalAntView
- Add the new neighbor information to the
Gate
object contained
in the current nest.
- addResource(Resource) -
Method in interface anthill.AntView
- Add a resource to the nest.
- addResource(Resource) -
Method in class anthill.nestor.LocalAntView
- Add the specified resource to the local nest.
- ant -
Variable in class anthill.nestor.LocalTrail.Pair
- Identifier of the ant which visited this nest
- Ant - interface anthill.Ant.
- This interface contains the methods which must be implemented
by ant developers.
- AntDescriptor - class anthill.nest.AntDescriptor.
- This class contains information about an ant,including the
identifier of the nest which has sent it to this host, the
identifier of the ant, the remaining time-to-live and a
reference to the ant itself.
- AntDescriptor(NestId, AntId, Ant, int) -
Constructor for class anthill.nest.AntDescriptor
- Instantiates an ant descriptor and copies the initialization
parameters in it.
- AntFactory - interface anthill.AntFactory.
- Factory interface for creating ants.
- anthill - package 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 - package anthill.antnet
- This package is a prototype implementation of package
anthill.nest
to be used during actual
deployment in a real environment. - anthill.antsim - package anthill.antsim
- This package contains the main interfaces used in the Anthill
simulation tool, including interfaces to perform evaluations,
to collect statistics, to simulate peer-to-peer networks and
to generate random requests of documents.
- anthill.antsim.impl - package anthill.antsim.impl
- This package contains a prototype implementation of the
interfaces included in package
anthill.antsim
. - anthill.factory - package anthill.factory
- This package contains a general factory class based on reflection
and XML configuration files, which could be used to configure
the behavior of an Anthill simulation without need to recompile
the application.
- anthill.genie - package anthill.genie
- This package contains the main interfaces used in the Anthill
evolution framework, including interfaces to perform evaluations
using genetic tools, to represent genetic codes and to manipulate
populations of genetic codes.
- anthill.genie.impl - package anthill.genie.impl
- This package contains a prototype implementation of the
interfaces included in package
anthill.genie
. - anthill.nest - package anthill.nest
- This package contains the main interfaces needed by nest implementors.
- anthill.nestor - package anthill.nestor
- This package is a prototype implementation of package
anthill.nest
to be used during Anthill
simulations. - anthill.util - package anthill.util
- This package contains some utility classes performing different
tasks, such as logging, printing and exceptional behavior handling.
- AntId - interface anthill.AntId.
- Empty interface used as a marker for ant identifiers.
- AntIdImpl - class anthill.antnet.AntIdImpl.
- Class
AntIdImpl
is the implementation of AntId
to be used in
a deployment environment. - AntIdImpl() -
Constructor for class anthill.antnet.AntIdImpl
- Builds a new identifier, by generating a random sequence of
SIZE
bytes.
- AntListener - interface anthill.nest.AntListener.
- This interface must be implemented by nests in order to receive
ants from other nests.
- AntView - interface anthill.AntView.
- Interface
AntView
contains the set of methods which are
accessible to ants when visiting nests.
Clearable
is implemented by those objects whose
content may be restored to its initial state. Manager
capable to manage multiple
threads.ConfigFormatExeception
with the specified message.
ConstructorException
with a target exception.
ConstructorException
with a target exception
and a detail message.
LocalNid
is equal to the specified object.
GeneticCode
is equal to the specified object.
LocalAid
is equal to the specified object.
LocalNid
is equal to the specified object.
AntIdImpl
is equal to the specified object.
Manager
.
LocalManager
.
Experiment
interface represents the execution
of a set of Scenario
s. ExperimentImpl
is a simple implementation of
Experiment
which repeat the execution of a single
scenario a certain number of times and returns a single
Stats object containing a summary of the statistics for all the
executions.put
.
put
.
FileResource
represents a local file resource that can be
added by a an anthill clients.Gate
interface contains the set of methods
used by a nest to communicate with other nests.
GeneticCode
object starting from a sequence
of bits maintained in a boolean array.
GeneticCode
object starting from another
GeneticCode
object.
GeneticNest
interface extends Nest
with methods for managing genetic codes to be used in the creation
of new ants during the evaluation of the fitness of a genetic ant
algorithm.GeneticScenario
extends interface
Scenario
with methods for managing genetic codes
to be used in the creation of new ants during the evaluation
of the fitness of a genetic ant algorithm.get
method is used to obtain an instantiation of
a class implementing the requested interface.
i
.
sizes
array.
name
name
get
method is used to obtain an instantiation of
a class implementing the requested interface.
AntView
.
AntView
.
null
if there is no attribute with that name.
Nest
to which this
gate is associated.
Manager
object associated to this nest
AntView
.
AntView
object.
storePreviousNest()
.
Trail
object stored
in the nest and move to the obtained nest.
Resource
objects.
ResourceSet
.
ResourceSet
.
Resource
objects which satisfy the specified
request.
iface
.
iface
.
name
.
name
.
LocalAid
is the implementation of AntId
to be used during off-line simulation. AntView
, which implements methods included in
it by invoking the opportune methods on the local nest.LocalGate
is the implementation of Gate
to be used during off-line simulations. LocalGate
by creating
a new local nest identifier.
LocalManager
is the implementation of Manager
to be used during off-line simulations. LocalNid
is the implementation of NestId for the
to be used during off-line simulation. ResourceSet
containing an hash table mapping ant identifiers to response
listeners.LocalStorage
is a simple implementation of the Storage
interface, aimed at serving as resource repository for nests during the off-line
simulation. LocalTrail
is the implementation of Trail
to be used during off-line simulations. LocalTrail
object in order to obtain the
identifier of the nest from which the specified
ant arrived.
Manager
is to control the execution of
the ants receveid by other nests or generated locally.
Nest
.
Neighbour
contains the information related
to another nest related to another nest. Nest
is the interface used by nest users
to communicate with nests. Stats
object to
count the number of repetitions of the scenario evaluation in a
experiment.
Peernet
interface represents a simulated
peer-to-peer network. Printable
automatically inherit
a toString()
method which prints out their contents.
i.e. the value of the fields contained in the object instances.
Queue
class implements a queue with last-in, first-out
semantics. size <\code>.
RandomResource
is characterized only by its name, which is
a string obtained from a long value generated randomly.RandomResourceSet
is a simple implementation of ResourceSet
which generates RandomResource
s. RandomResourceSet
by creating
size
resources.
UrlResource
to the specified output stream.
RequestSet
interface represents a data structure
containing associations between ant identifiers and listeners
interested in the responses returned by those ants.
Resource
interface describes resources that may be
stored in a nests. Resource
objects. ResourceSet
is used in scenarios in order to
obtain a set of resources to be inserted in the simulated peer network
and a set of requests to be performed.AntView
, created to satisfy
a request, has found the specified set of resources.
Scenario
represents a run of the simulation
of a particular ant algorithm. ScenarioImpl
is a simple implementation of
interface Scenario
in which a predefined set of
resources is inserted in the network and then a certain number
of requests are performed and simulate. AntView
object.
ResourceSet
.
ResourceSet
.
Stats
interface enables programmers to collect
information about events occurring during a simulation. Storage
interface represents the resource storage
component of a nest. AntView
on the current
nest.
Trail
object stored
in the nest.
toString
method to print out the content of
an object.
toString()
method to
print out the content of an object.
UrlResource
is an object containing the URL from which the
content of a resource may be downloaded. UrlResource
to the specified output stream.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |