|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Trail
object.
null
as value.
object <\code> at the end of the queue.
- add(Object) -
Method in class anthill.util.History
- Appends
object <\code> at the end of the list
- add(RequestId, ResponseListener) -
Method in interface anthill.nest.RequestSet
- Adds an association between a key and the listener
interested in the responses returned by this ant.
- add(RequestId, ResponseListener) -
Method in class anthill.nestor.LocalRequestSet
-
- add(String, float) -
Method in class anthill.antsim.Stats
- Add the value of
addend
to 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 nest to the set of
neighbours known to this
Nest
, on behalf of
an ant.
- 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 nest to the set of
neighbours known to this
Nest
, on behalf of
an Nest client.
- 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.
- addKeyhash(KeyHash, NestId) -
Method in class gnutant.GnutantPheromone
- Add a new nest containing a document that match the specified
keyword, represented by a hash of the keyword.
- addKeyhash(KeyHash, NestId) -
Method in class freenetant.FreenetAntPheromone
- Add a new nest containing a document that match the specified
keyword, represented by a hash of the keyword.
- addKeyword(String, NestId) -
Method in class freenetant.FreenetAntPheromone
- Convert the query string in the corresponding hash value.
- 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(Object, Resource) -
Method in class gnutant.UrlStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in interface anthill.storage.GenericStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in class anthill.storage.impl.LRUKeyStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in class anthill.storage.impl.MemoryStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Resource) -
Method in interface anthill.AntView
- Add a resource to the nest.
- addResource(Resource) -
Method in class anthill.nestor.LocalAntView
- Add a resource to the nest.
- addResource(Resource) -
Method in class anthill.nestor.LocalNest
- Add a resource to the nest.
- addURL(UrlResource) -
Method in class gnutant.UrlResourceSet
-
- Analyzer - class anthill.util.Analyzer.
- This class can be used to analyze the memory footprint of an object
reference.
- Analyzer() -
Constructor for class anthill.util.Analyzer
-
- ANDQueryController - class anthill.storage.impl.ANDQueryController.
- This class is used to verify if an object is
- ANDQueryController(Factory) -
Constructor for class anthill.storage.impl.ANDQueryController
- Constructor for the query controller
- 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, 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.storage - package anthill.storage
-
- anthill.storage.impl - package anthill.storage.impl
-
- 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.
CapacityExeception
with no detail message.
CapacityExeception
with the specified message.
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.
key
is contained in
the storage, false otherwise.
key
is contained in
the storage, false otherwise.
key
is contained in
the storage, false otherwise.
InstanceCount
objects, one for
each of the classes referenced (directly or indirectly)
by the specified object.
UrlResourceSet
is equal to the specified object.
UrlResource
is equal to the specified object.
LocalNid
is equal to the specified object.
AntIdImpl
is equal to the specified object.
Rid
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.
SHADigest
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.
GenericStorage
represents a generic storage
which enforce a simple policy based on a maximum capacity.
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.i
in the last position of the
backtrack data structure.
get
method is used to obtain an instantiation of
a class implementing the requested interface.
i
.
sizes
array.
value
associated with the specified key
.
name
get
method is used to obtain an instantiation of
a class implementing the requested interface.
AntView
.
null
if there is no attribute with that name.
name
Nest
to which this
gate is associated.
KeyHash
object.
Manager
object associated to this nest
AntView
.
keyhash
.
AntView
object.
Resource
objects.
ResourceSet
.
ResourceSet
.
storePreviousNest()
.
Trail
object stored
in the nest and move to the obtained nest.
iface
.
iface
.
GnutantPheromone
instance.
GnutantPheromone
instance.
GnutantPheromone
instance.
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. GnutantScenario
instance.
GnutantScenario
instance.
Pair
objects which may be contained in it.
History
classname
.
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. Analyzer
.KeyHash
computes the digest (or hash)
of a specified string keyword, and enables various other classes
to compare keyword hashes and store them in a HashMap
or other collections in need of a hashCode method.KeyHash
instance based on a randomly
generated SHA-1 hash key.
KeyHash
object.
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.LocalTrail
is the implementation of Trail
to be used during off-line simulations. Trail
object.
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.
Pair
object implementing a doubly linked list.
Pair
objects which may be contained in it.
MemoryStorage
is a simple implementation of
the generic storage which keeps resources in memory.
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. Peernet
interface represents a simulated
peer-to-peer network. Storage
is an empty interface which is used a marker
for storage objects, which may be requested and obtained by ants
when visiting nest. Printable
automatically inherit
a toString()
method which prints out their contents.
i.e. the value of the fields contained in the object instances.
key, value
pair to the map.
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.
RangeExperiment
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.UrlResourceSet
to the specified output stream.
readExternal
method here.
UrlResource
to the specified output stream.
SHADigest
to the specified input stream.
KeyHash
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.ResponseMonitor
isResponseMonitor
.
AntView
, created to satisfy
a request, has found the specified set of resources.
Stats
object to
count the number of repetitions of the scenario evaluation in a
experiment.
Stats
object to
count the number of repetitions of the scenario evaluation in a
experiment.
Stats
object to
count the number of repetitions of the scenario evaluation in a
experiment.
Stats
object to
count the number of repetitions of the scenario evaluation in a
experiment.
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. i
in the last position of the
backtrack data structure.
MapList
.
MapList
.
AntView
object.
SHADigest
computes the digest (or hash)
of the specified content, and enables various other classes
to compare the digests and store them in a HashMap
or other collections in need of a hashCode method.SHADigest
instance based on a randomly
generated SHA hash.
ResourceSet
.
ResourceSet
.
Storage
is an empty interface which is used a marker
for storage objects, which may be requested and obtained by ants
when visiting nest. StorageNotFoundException
with a target exception.
StorageNotFoundException
with a target exception
and a detail message.
AntView
on the current
nest.
Trail
object stored
in the nest.
TimeExperiment
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.GnutantPheromone
.
toString
method to print out the content of
an object.
toString()
method to
print out the content of an object.
Trail
object.
Trail
object.
UrlResource
is an object containing the URL from which the
content of a resource may be downloaded. UrlResource
identified by the
specified name
.
UrlResource
identified by the
specified name
and dockey
.
UrlResource
identified by the
specified name
.
UrlResourceSet
to the specified output stream.
writeExternal
method here.
UrlResource
to the specified output stream.
SHADigest
to the specified output stream.
KeyHash
to the specified output stream.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |