|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Trail
object.
object <\code> at the end of the queue.
- add(Object) -
Method in class anthill.util.MapList
- Add the given key to the map with
null
as value.
- 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 antsim.nestor.LocalRequestSet
-
- add(RequestId, ResponseListener) -
Method in class jxtaimpl.RequestSet
- Add a new entry
- add(String, float) -
Method in class 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 antsim.nestor.LocalAntView
- FIXME: comment.
- addAnt(Ant) -
Method in class jxtaimpl.AntView
- Add a new ant to this nest.
- 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 antsim.nestor.LocalNest
- Add the identifier of a new neighbour nest to the set of
neighbours known to this
Nest
, on behalf of
an ant.
- addAntNeighbour(NestId) -
Method in class jxtaimpl.Nest
- Add a new nest (peer) to the set of neighbours on behalf of
an Ant client.
- 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 antsim.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.
- addClientNeighbour(NestId) -
Method in class jxtaimpl.Nest
- Add a new nest (peer) to the set of neighbours on behalf of
a Nest client.
- addGeneticCode(GeneticCode) -
Method in interface antsim.genie.GeneticScenario
- Set the genetic code(s) to be evaluated.
- addGeneticCode(GeneticCode) -
Method in interface antsim.genie.GeneticNest
- Add a new genetic code to the set of genetic codes known to this
nest.
- addGeneticCode(GeneticCode) -
Method in interface antsim.genie.GeneticExperiment
- Set the genetic code to be evaluated.
- addGeneticCode(GeneticCode) -
Method in class antsim.nestor.LocalGeneticNest
- Add a new genetic code to the set of genetic codes known to this anthill.
- addKeyhash(HashedKeyword, NestId) -
Method in class ants.freeant.GnutantPheromone
-
- addKeyhash(HashedKeyword, NestId) -
Method in class ants.gnutant.GnutantPheromone
- Add a new nest containing a document that match the specified
keyword, represented by a hash of the keyword.
- addKeyhash(HashedKeyword, NestId) -
Method in class ants.jxtagnutant.GnutantPheromone
- Add a new nest containing a document that match the specified
keyword, represented by a hash of the keyword.
- addKnownNest(NestId) -
Method in interface jxtaimpl.PeerFinder
- When a new nest has been found, a call to this method will just record the new NestId associated to the nest.
- addKnownNest(NestId) -
Method in class jxtaimpl.AnthillPeerWS
- When a new nest has been found, a call to this method will just record the new
NestId associated to the nest.
- addLast(AntView, NestId) -
Method in interface anthill.types.ReturnPath
- Adds a new element to the path.
- addLast(AntView, NestId) -
Method in class anthill.types.ArrayReturnPath
- Adds a new element to the path.
- 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 antsim.nestor.LocalAntView
- Add the new neighbor information to the
Gate
object contained
in the current nest.
- addNeighbour(NestId) -
Method in class jxtaimpl.NeighbourManager
- A new Neighbour instance is created using the given NestId and added to the internal
data structure using the NestId as key value.
- addNeighbour(NestId) -
Method in class jxtaimpl.AntView
- Ants invoke this method to add the identifier of a new neighbour
nest to the set of neighbours known to the current nest.
- addNest(NestId, int) -
Method in interface ants.messor.MessorPheromone
- Add the specified node and its associated load to the pheromone table.
- addNest(NestId, int) -
Method in class ants.messor.ArrayMessorPheromone
-
- 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.MemoryStorage
- 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 ants.freeant.UrlStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in class ants.gnutant.UrlStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in class ants.jxtagnutant.UrlStorage
- Adds a resource to the storage and associates it to the specified
key.
- addResource(Object, Resource) -
Method in class jxtaimpl.storage.CmsStorage
- Deprecated. The
public void addResource(Object key, Resource resource, byte[] buffer)
method should be used in place of this one
- addResource(Object, Resource, byte[]) -
Method in class jxtaimpl.storage.CmsStorage
- Adds the resource described by
Resource resource
and contained in
byte[] buffer
.
- addResource(Resource) -
Method in class jxtaimpl.AntView
- Add a resource to the nest.
- addResource(Resource, String) -
Method in class jxtaimpl.Nest
- Add a resource to the Nest.
- addTasks(List) -
Method in interface ants.messor.TaskStorage
- Add the task to the task set.
- addTasks(List) -
Method in class ants.messor.SimulatedTaskStorage
- Add the task to the task set.
- addURL(UrlResource) -
Method in class ants.gnutant.UrlResourceSet
-
- addURL(UrlResource) -
Method in class ants.jxtagnutant.UrlResourceSet
-
- analyze(Stats) -
Method in interface antsim.Scenario
- Analyze the scenario object by displaying information about it.
- analyze(Stats) -
Method in class antsim.impl.ScenarioImpl
- Analyze the scenario object by displaying information about it.
- analyze(Stats, Peernet) -
Method in class ants.messor.NestNeighboursAnalyzer
- Performs an analysis on the state of the simulated P2P network.
- analyze(Stats, Peernet) -
Method in class ants.messor.NestLoadListingAnalyzer
- Performs an analysis on the state of the simulated P2P network.
- analyze(Stats, Peernet) -
Method in class ants.messor.LoadDeviationAnalyzer
- Performs an analysis on the state of the simulated P2P network.
- analyze(Stats, Peernet) -
Method in interface antsim.ScenarioAnalyzer
- Performs an analysis on the state of the simulated P2P network.
- analyze(Stats, Peernet) -
Method in class antsim.impl.GenericScenarioAnalyzer
- Performs an analysis on the state of the simulated P2P network.
- analyzer -
Variable in class antsim.impl.ScenarioImpl
- Scenario analyzer used to display information about the behavior of
the ant algorithm.
- 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, String) -
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.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.nest - package anthill.nest
- This package contains the main interfaces needed by nest implementors.
- anthill.storage - package anthill.storage
-
- anthill.storage.impl - package anthill.storage.impl
-
- anthill.types - package anthill.types
- This package contains general utility types that may help in the development
of new ant algorithms.
- anthill.util - package anthill.util
- This package contains some utility classes performing different
tasks, such as logging, printing and exceptional behavior handling.
- AnthillGroup - class jxtaimpl.AnthillGroup.
- This is the class implementing the AnthillGroup
- AnthillGroup() -
Constructor for class jxtaimpl.AnthillGroup
- This is the default constructor.
- AnthillPeerWS - class jxtaimpl.AnthillPeerWS.
- This class implements the PeerFinder interface.
- AnthillPeerWS(Factory) -
Constructor for class jxtaimpl.AnthillPeerWS
- The constructor needs a Factory in order to instantiate all the other
components of the Nest.
- AnthillResource - class jxtaimpl.storage.AnthillResource.
- This class represents a resource in the Anthill network
- AnthillResource(Content, String, URL, String, String) -
Constructor for class jxtaimpl.storage.AnthillResource
- This is the default constructor.
- AntId - interface anthill.AntId.
- Empty interface used as a marker for ant identifiers.
- AntId - class jxtaimpl.ids.AntId.
- The AntId has the same logic of the RequestId, and is generated starting from it.
- AntId(RequestId) -
Constructor for class jxtaimpl.ids.AntId
- The default constructor
- AntListener - interface anthill.nest.AntListener.
- This interface must be implemented by nests in order to receive
ants from other nests.
- ants.freeant - package ants.freeant
- Freeant is an experimental ant based on the Gnutant algorithm.
- ants.gnutant - package ants.gnutant
- This package ants.contains a simple ant implementation.
- ants.jxtagnutant - package ants.jxtagnutant
-
- ants.messor - package ants.messor
- This package ants.contains an experimental ant implementing a grid-like
computing service.
- ants.random - package ants.random
- This package ants.contains a simple ant implementation
that perform a random walking through a peer-to-peer
network.
- ants.utils - package ants.utils
-
- antsim - package 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.
- antsim.genie - package antsim.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.
- antsim.impl - package antsim.impl
- This package contains a prototype implementation of the
interfaces included in package
antsim
. - antsim.nestor - package antsim.nestor
- This package is a prototype implementation of package
anthill.nest
to be used during Anthill
simulations. - AntView - interface anthill.AntView.
- Interface
AntView
contains the set of methods which are
accessible to ants when visiting nests. - AntView - class jxtaimpl.AntView.
- This class is the enviroment where an Ant can operate.
- AntView(Nest, AntDescriptor, Factory) -
Constructor for class jxtaimpl.AntView
- Default constructor.
- ArrayMessorPheromone - class ants.messor.ArrayMessorPheromone.
-
- ArrayMessorPheromone(Factory, String) -
Constructor for class ants.messor.ArrayMessorPheromone
- Creates a new ArrayMessorPheromone, with the specified capacity.
- ArrayReturnPath - class anthill.types.ArrayReturnPath.
-
- ArrayReturnPath() -
Constructor for class anthill.types.ArrayReturnPath
- Constructs a new empty return path.
- ArrayReturnPath(Factory, String) -
Constructor for class anthill.types.ArrayReturnPath
- Constructs a new empty return path.
CapacityExeception
with no detail message.
CapacityExeception
with the specified message.
jxtaimpl
implementation.
Clearable
is implemented by those objects whose
content may be restored to its initial state. Closeness
is implemented by objects whose
content can be compared against two other objects for closeness.DocumentKey
based on the path component
of the specified URL.
DocumentKey
.
SHADocumentId
.
DocumentKey
.
SHADocumentId
based on the path component
of the specified URL.
SHADocumentId
.
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.
key
is contained in
the storage, false otherwise.
key
,
(please see Query
javadocs) is contained in
the storage, false otherwise.
InstanceCount
objects, one for
each of the classes referenced (directly or indirectly)
by the specified object.
DocumentKey
instance for simulation
purposes.
DocumentKey
instance for real deployment purposes.
NestId
named id
is equal
to the current instance or not.
LocalNid
is equal to the specified object.
URLResourceImpl
is equal to the specified object.
SimpleURLResource
is equal to the specified object.
SHADocumentId
is equal
to the specified object.
SHADigest
is equal to the specified object.
UrlResourceSet
is equal to the specified object.
UrlResource
is equal to the specified object.
UrlResourceSet
is equal to the specified object.
SimulatedTask
is equal to the specified
object.
UrlResource
is equal to the specified object.
DocumentKey
is equal
to the specified object.
Rid
is equal to the specified object.
GeneticCode
is equal to the specified object.
LocalNid
is equal to the specified object.
LocalAid
is equal to the specified object.
ExactQueryController
to match only exact queries
against a given resource.Manager
.
LocalManager
.
Experiment
interface represents the execution
of a set of Scenario
s. Random
by adding some utility methods.
put
.
put
.
Gate
interface contains the set of methods
used by a nest to communicate with other nests.
NumberOfRequests
from the configuration files.
GenericResponseMonitor
isGenericResponseMonitor
.
ScenarioAnalyzer
interface; its
task is to print the content of the statistics object whenever the
analyze
method is invoked.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
.
get
method is used to obtain an instantiation of
a class implementing the requested component.
name
null
.
AntView
.
AntView
.
null
if there is no attribute with that name.
name
Content
this resource refers to.
InputStream
for reading in the resource identified by the
the given contentId.
InputStream
for reading the resource locally stored
and identified by the given resource ID resID
.
SHAHashedKeyword
object.
SHADocumentId
.
DocumentKey
.
Manager
object associated to this nest
Nest
instance created by the
AnthillPeerWorkSpace
.
AntView
.
Nest
to which this
gate is associated.
AntView
.
keyhash
.
keyhash
.
Resource
objects.
ResourceSet
.
GnutantPheromone
instance.
GnutantPheromone
instance.
GnutantPheromone
instance.
NumberOfRequests
from the configuration files.
NumberOfRequests
from the configuration files.
ReplyGnutant
and log the
statistics. ReplyGnutant
and log the
statistics. Pair
objects which may be contained in it.
History
classname
.
Analyzer
.Factory
instance.
this
object against the provided objects for
closeness.
this
object against the provided objects for
closeness.
SHAHashedKeyword
object.
jxtaimpl
implementation.
ScenarioAnalyzer
interface.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.
Manager
capable to manage multiple
threads.Entry
object implementing a doubly linked list.
Entry
objects which may be contained in it.
MemoryStorage
is a simple implementation of
the generic storage which keeps resources in memory.
Nest
.
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. ScenarioAnalyzer
interface.ScenarioAnalyzer
interface.Trail
object.
Trail
object.
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.
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. ParameterName
, has its value changed from a
minimum value (parameter MinValue
) to a maximum
value (parameter MaxValue
), with an increase
specified by parameter Step
. RangeExperiment
.
URLResourceImpl
to the specified output stream.
SHAHashedKeyword
to the specified output stream.
SHADocumentId
to the specified output stream.
SHADigest
to the specified input stream.
UrlResourceSet
to the specified output stream.
UrlResource
to the specified output stream.
readExternal
method here.
UrlResourceSet
to the specified output stream.
readExternal
method here.
UrlResource
to the specified output stream.
DocumentKey
to the specified output stream.
RequestSet
interface represents a data structure
containing associations between request identifiers and listeners
interested in the responses returned by those ants.
Resource
interface describes resources that may be
stored in a nests. Resource
objects. ResourceManagerException
with a target exception.
ResourceManagerException
with a target exception
and a detail message.
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
AntView
, created to satisfy
a request, has found the specified set of resources.
AntView
, created to satisfy
a request, has found the specified set of resources.
DownloadManager
is instantiated
and started.
Scenario
represents a run of the simulation
of a particular ant algorithm. ScenarioAnalyzer
represents analyzer object
that are invoked at the end of each scenario evaluation. 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
.
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.
SHAHashedKeyword
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.SHAHashedKeyword
instance based on a randomly
generated SHA-1 hash key.
HashedKeyword
interface,
keywords are hashed using the hashCode
method of Java string.
SimpleURLResource
identified by the
specified stringified URL and by the given document ID.
SimpleURLResource
identified by the
specified URL
.
SimulatedNest
extends Nest
by
adding methods for managing simulated nests, such as methods to
obtain the ant manager associated to the nest, or to force the
simulated nest to leave.ResourceSet
.
String
passed to the constructor is the ant
species unknown to this Nest.
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.
toString
method to print out the content of
an object.
GnutantPheromone
.
GnutantPheromone
.
GnutantPheromone
.
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
is an object containing the URL from which the
content of a resource may be downloaded. URLResource
object represents an URL that can be stored,
as a resource, in a URL storage. UrlResource
identified by the
specified name
.
UrlResource
identified by the
specified name
.
UrlResource
identified by the
specified name
and dockey
.
UrlResource
identified by the
specified name
and dockey
.
UrlResource
identified by the
specified name
.
UrlResource
identified by the
specified name
.
URLResourceImpl
identified by the
specified stringified URL and by the given document ID.
URLResourceImpl
identified by the
specified URL
.
URLResourceImpl
to the specified output stream.
SHAHashedKeyword
to the specified output stream.
SHADocumentId
to the specified output stream.
SHADigest
to the specified output stream.
UrlResourceSet
to the specified output stream.
UrlResource
to the specified output stream.
writeExternal
method here.
UrlResourceSet
to the specified output stream.
writeExternal
method here.
UrlResource
to the specified output stream.
DocumentKey
to the specified output stream.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |