Serialized Form


Package anthill

Class anthill.Neighbour implements Serializable

Serialized Fields

id

NestId id
Identifier of the nest neighbour


cost

float cost
Communication cost with this neighbour


reachable

boolean reachable
True if this neighbour is currently reachable

Class anthill.ResourceManagerException implements Serializable

Serialized Fields

target

Throwable target
Target exception


Package anthill.factory

Class anthill.factory.ConfigFormatException implements Serializable

Class anthill.factory.ConstructorException implements Serializable

Serialized Fields

target

Throwable target
Target exception

Class anthill.factory.Factory implements Serializable

Serialized Fields

componentMap

HashMap componentMap

configMap

Map configMap


Package anthill.nest

Class anthill.nest.AntDescriptor implements Serializable

Serialized Fields

sender

NestId sender
NestId of the sender of this ant


ant

Ant ant
Ant associated to this data structure


ttl

int ttl
Time-to-live


Package anthill.storage

Class anthill.storage.CapacityException implements Serializable

Serialized Fields

capacity

long capacity
Capacity


requestedCapacity

long requestedCapacity
Requested capacity


remainingCapacity

long remainingCapacity
Remaining capacity

Class anthill.storage.StorageNotFoundException implements Serializable

Serialized Fields

target

Throwable target
Target exception


Package anthill.types

Class anthill.types.SHADocumentId implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this SHADocumentId to the specified output stream.

Throws:
IOException - if an error occurs

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this SHADocumentId to the specified output stream.

Throws:
IOException - if an error occurs

Class anthill.types.SHAHashedKeyword implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this SHAHashedKeyword to the specified output stream.

Throws:
IOException - if an error occurs

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this SHAHashedKeyword to the specified output stream.

Throws:
IOException - if an error occurs

Class anthill.types.URLResourceImpl implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Marshals this URLResourceImpl to the specified output stream.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this URLResourceImpl to the specified output stream.


Package anthill.util

Class anthill.util.Backtrack implements Serializable

Serialized Fields

backtrack

int[] backtrack
Array containing the back track information


size

int size
Number of elements contained in the array; could size < backtrack.length

Class anthill.util.ExtendedRandom implements Serializable

Class anthill.util.HashList implements Serializable

Class anthill.util.MapList implements Serializable

Serialized Fields

maxsize

int maxsize
Max size of the map


size

int size
Size of the map


map

Map map
A map mapping a key identifier to a composite Entry object implementing a doubly linked list.


head

MapList.Entry head
Head of the list connecting the pairs; pairs will be removed here


tail

MapList.Entry tail
Tail of the list connecting the pairs; pairs will be added here


maxtime

int maxtime
Max duration for storing a key in the map


interval

int interval
Polling interval


ended

boolean ended
True if the pooling thread has to be stopped

Class anthill.util.MapList.Entry implements Serializable

Serialized Fields

key

Object key
The key used for accessing the value.


value

Object value
The value stored by this object


next

MapList.Entry next
Next pair in the linked list


prev

MapList.Entry prev
Previous pair in the linked list

Class anthill.util.SHADigest implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this SHADigest to the specified input stream.

Throws:
IOException - if an error occurs

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this SHADigest to the specified output stream.

Throws:
IOException - if an error occurs

Class anthill.util.TreeList implements Serializable

Serialized Fields

proxyMap

SortedMap proxyMap
A proxy for the actual map, used to access methods from the SortedMap interface.


Package ants.freeant

Class ants.freeant.Gnutant implements Serializable

Serialized Fields

explorationProbability

float explorationProbability
Probability to follow a random path instead of following the pheromone trail.


trailAttempts

int trailAttempts
Number of attempts to move to another nest, selected randomly among the nests included in this pheromone, using a normal distribution over the nests addressing the closest keys.


trailDev

double trailDev

explorationAttempts

int explorationAttempts
Number of attempts to move to another nest, selected randomly among the nests included in this pheromone, using a uniform distribution.


maxResources

int maxResources

maxProviders

int maxProviders

rid

RequestId rid
The identifier of the request


query

String query
The query string associated with this ant


key

HashedKeyword key
The hash value of the keyword searched by this ant


requestor

NestId requestor
Originating nest of this ant


status

int status
Current ant status


returnPath

ReturnPath returnPath
Utility object used to obtain information about the return path to the requestor nest.


resources

HashSet resources
Resource to be returned


providers

ArrayList providers
First nests to provide new info FIXME currently just one


fakeProb

int fakeProb
This parameter represents the probability for the requestor identifier to be substituted with the current nest, in order to provide anonymity.

Class ants.freeant.ResponseGnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request


resources

Resource[] resources
Resources to be returned to the requestor nest


requestor

NestId requestor
Identifier of the requestor nest


Package ants.gnutant

Class ants.gnutant.BackwardGnutant implements Serializable

Serialized Fields

provider

NestId provider
The provider of these resources; originator of this ant


keyhash

HashedKeyword keyhash
The hash value of the keyword searched by this ant


resources

Resource[] resources
Resources that we wish to put update the distributed index with


path

ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times.

Class ants.gnutant.Insant implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Describe readExternal method here.

Throws:
IOException - if an error occurs
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Describe writeExternal method here.

Throws:
IOException - if an error occurs

Class ants.gnutant.ReplyGnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request


resources

Resource[] resources
Resource to be returned to the requestor nest


requestor

NestId requestor
Identifier of the requestor nest

Class ants.gnutant.SearchGnutant implements Serializable

Serialized Fields

path

ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times and backtrack to the originating nest.


rid

RequestId rid
The identifier of the request


query

String query
The query string associated with this ant


keyhash

HashedKeyword keyhash
The hash value of the keyword searched by this ant


resources

HashSet resources
Resource to be returned


backtracks

int backtracks
Number of backtracks performed so far by this ant.


rsize

long rsize
The number of results found so far

Class ants.gnutant.UrlResource implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this UrlResource to the specified output stream.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this UrlResource to the specified output stream.

Class ants.gnutant.UrlResourceSet implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this UrlResourceSet to the specified output stream.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this UrlResourceSet to the specified output stream.


Package ants.jxtagnutant

Class ants.jxtagnutant.BackwardGnutant implements Serializable

Serialized Fields

provider

NestId provider
The provider of these resources; originator of this ant


keyhash

HashedKeyword keyhash
The hash value of the keyword searched by this ant


resources

Resource[] resources
Resources that we wish to put update the distributed index with


path

ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times.

Class ants.jxtagnutant.GnutantPheromone implements Serializable

Serialized Fields

pheroMap

TreeList pheroMap
A TreeList associating keyword hash codes and NestIds. TreeList implements a LRU policy, mean that keywords that have been stored may be removed based on the least recently used scheme. This is to make room for new entries in the index. The underlying map is a TreeMap, thus ensuring that keys (key hash codes) are stored in sorted order.


closeness

int closeness
Closeness defines the number of close keys to retreive from the pheroMap.


capacity

int capacity

factory

Factory factory

Class ants.jxtagnutant.Insant implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Describe readExternal method here.

Throws:
IOException - if an error occurs
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Describe writeExternal method here.

Throws:
IOException - if an error occurs

Class ants.jxtagnutant.ReplyGnutant implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request


resources

Resource[] resources
Resource to be returned to the requestor nest


requestor

NestId requestor
Identifier of the requestor nest

Class ants.jxtagnutant.SearchGnutant implements Serializable

Serialized Fields

path

ArrayList path
Variable path contains the list of visited nodes, allowing the ant to avoid visiting the same nests multiple times and backtrack to the originating nest.


rid

RequestId rid
The identifier of the request


query

Object query
The query associated with this ant


keyhash

HashedKeyword keyhash
The hash value of the keyword searched by this ant


resources

HashSet resources
Resource to be returned


backtracks

int backtracks
Number of backtracks performed so far by this ant.


rsize

long rsize

tries

int tries

Class ants.jxtagnutant.UrlResourceSet implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this UrlResourceSet to the specified output stream.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this UrlResourceSet to the specified output stream.


Package ants.messor

Class ants.messor.DeliverAnt implements Serializable

Serialized Fields

tasks

List tasks
Tasks to be delivered in the local storage.

Class ants.messor.MessorAnt implements Serializable

Serialized Fields

maxExploringProb

float maxExploringProb
When in MaxSearching status, probability to explore the network instead to go towards nodes with max load.


minExploringProb

float minExploringProb
When in MinSearching status, probability to explore the network instead to go towards nodes with min load.


maxSearchDev

double maxSearchDev
When in MaxSearching status, standard deviation for selecting the next node using a normal distribution.


minSearchDev

double minSearchDev
When in MinSearching status, standard deviation for selecting the next node using a normal distribution.


maxKeepSearchingProb

float maxKeepSearchingProb
When in MaxSearching status, probability to keep searching when a node with a load greater than the given treshold has been reached.


minKeepSearchingProb

float minKeepSearchingProb
When in MaxSearching status, probability to keep searching when a node with a load greater than the given treshold has been reached.


maxTargetRatio

float maxTargetRatio
Target ratio between the load of overloaded and underloaded nests when in SearchMax status. When an ant is looking for overloaded machines, it keeps moving until the ratio between the load observed in the nest with maximum load and the nest with minimum load do not reach this target value.


minTargetRatio

float minTargetRatio
Target ratio between the load of overloaded and underloaded nests when in SearchMin status. When an ant is looking for underloaded machines, it keeps moving until the ratio between the load observed in the nest with maximum load and the nest with minimum load do not reach this target value.


transportPercentage

float transportPercentage
Percentage of tasks to be move from one site to another.


maxTransport

int maxTransport
Max number of tasks that can be transported by one node to another


status

int status
Status of the ant; can get the values SearchMax, SearchMin and Transport


visited

NestId[] visited
Last nests visited; this array is organized as a circular queue.


loads

int[] loads
Load associated to the last visited nests. Each position in this array corresponds to the same position in the visited array.


index

int index
Index of the next position where to write nests.


maxLoad

int maxLoad
Contains the maximum load among those recently visited by this ant.


maxNest

NestId maxNest
Contains the identifier of the nest in which the maximum load has been observed.


minLoad

int minLoad
Contains the minimum load among those recently visited by this ant.


minNest

NestId minNest
Contains the identifier of the nest in which the minimum load has been observed.


tasks

List tasks
Tasks to be transported from one nest to another


aid

AntId aid
Ant identifier; currently used only for debug.

Class ants.messor.MessorQueen implements Serializable

Serialized Fields

maxExploringProb

float maxExploringProb
When in MaxSearching status, probability to explore the network instead to go towards nodes with max load.


minExploringProb

float minExploringProb
When in MinSearching status, probability to explore the network instead to go towards nodes with min load.


maxSearchDev

double maxSearchDev
When in MaxSearching status, standard deviation for selecting the next node using a normal distribution.


minSearchDev

double minSearchDev
When in MinSearching status, standard deviation for selecting the next node using a normal distribution.


maxKeepSearchingProb

float maxKeepSearchingProb
When in MaxSearching status, probability to keep searching when a node with a load greater than the given treshold has been reached.


minKeepSearchingProb

float minKeepSearchingProb
When in MaxSearching status, probability to keep searching when a node with a load greater than the given treshold has been reached.


maxTargetRatio

float maxTargetRatio
Target ratio between the load of overloaded and underloaded nests when in SearchMax status. When an ant is looking for overloaded machines, it keeps moving until the ratio between the load observed in the nest with maximum load and the nest with minimum load do not reach this target value.


minTargetRatio

float minTargetRatio
Target ratio between the load of overloaded and underloaded nests when in SearchMin status. When an ant is looking for underloaded machines, it keeps moving until the ratio between the load observed in the nest with maximum load and the nest with minimum load do not reach this target value.


transportPercentage

float transportPercentage
Percentage of tasks to be move from one site to another.


visitedBufferSize

int visitedBufferSize


Package ants.random

Class ants.random.RandomAnt implements Serializable

Serialized Fields

rid

RequestId rid
The identifier of the request


aid

AntId aid
The identifier of this ant


query

String query
The query associated to this ant


resource

Resource resource
The resource found


backtracking

boolean backtracking
True if this ant is returning to the previous nest because it has reached a node already visited.


forward

boolean forward
True if this ant is returning to the requestor nest


Package ants.utils

Class ants.utils.DocumentKey implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this DocumentKey to the specified output stream.

Throws:
IOException - if an error occurs

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this DocumentKey to the specified output stream.

Throws:
IOException - if an error occurs

Class ants.utils.UrlResource implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException
Marshals this UrlResource to the specified output stream.


writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Marshals this UrlResource to the specified output stream.


Package jxtaimpl

Class jxtaimpl.AnthillGroup implements Serializable

Class jxtaimpl.GateServiceBuffer implements Serializable

Class jxtaimpl.NeighbourManager implements Serializable

Serialized Fields

hTab

Hashtable hTab

Class jxtaimpl.SpeciesNotFoundException implements Serializable

Serialized Fields

species

String species


Package jxtaimpl.gui

Class jxtaimpl.gui.LocalStorageView implements Serializable

Serialized Fields

resources

AnthillResource[] resources

table

JTable table

scroll

JScrollPane scroll

Class jxtaimpl.gui.MainToolbar implements Serializable

Serialized Fields

localNest

Nest localNest

buttonSearch

JButton buttonSearch

keywordsField

JTextField keywordsField

keywordsLabel

JLabel keywordsLabel

searchByBox

JComboBox searchByBox

searchByLabel

JLabel searchByLabel

menu

JMenuBar menu

fileMenu

JMenu fileMenu

resourcesMenu

JMenu resourcesMenu

infoMenu

JMenu infoMenu

helpMenu

JMenu helpMenu

fileMenuExit

JMenuItem fileMenuExit

resourcesMenuShare

JMenuItem resourcesMenuShare

resourcesMenuUnshare

JMenuItem resourcesMenuUnshare

resourcesMenuLocalStorage

JMenuItem resourcesMenuLocalStorage

infoMenuInfo

JMenuItem infoMenuInfo

helpMenuHelp

JMenuItem helpMenuHelp

panel

JPanel panel

RESIZABLE

boolean RESIZABLE

TITLE

String TITLE

BUTTON_SEARCH

String BUTTON_SEARCH

Class jxtaimpl.gui.QueryResults implements Serializable

Serialized Fields

resources

Vector resources

localNest

Nest localNest

searchByLabel

JLabel searchByLabel

keywordsLabel

JLabel keywordsLabel

searchByText

JTextField searchByText

keywordsText

JTextField keywordsText

status

JTextField status

dataArea

JTable dataArea

scrollPane

JScrollPane scrollPane

saveButton

JButton saveButton

tot

int tot

Class jxtaimpl.gui.SharingForm implements Serializable

Serialized Fields

resourceNameLabel

JLabel resourceNameLabel

resourceTypeLabel

JLabel resourceTypeLabel

resourceDescLabel

JLabel resourceDescLabel

resourceLengLabel

JLabel resourceLengLabel

resourceTypeText

JTextField resourceTypeText

resourceDescText

JTextField resourceDescText

antSpeciesLabel

JLabel antSpeciesLabel

antSpeciesText

JTextField antSpeciesText

shareButton

JButton shareButton

cancelButton

JButton cancelButton

file

File file

nest

Nest nest

Class jxtaimpl.gui.UnsharingForm implements Serializable

Serialized Fields

resources

AnthillResource[] resources

table

JTable table

scroll

JScrollPane scroll

unshareButton

JButton unshareButton

localNest

Nest localNest


Package jxtaimpl.ids

Class jxtaimpl.ids.AntId implements Serializable

Serialized Fields

requestId

RequestId requestId

Class jxtaimpl.ids.GenericId implements Serializable

Serialized Fields

id

String id

Class jxtaimpl.ids.NestId implements Serializable

Serialized Fields

name

String name

type

String type

id

URL id

Class jxtaimpl.ids.RequestId implements Serializable

Serialized Fields

nestId

NestId nestId


Package jxtaimpl.storage

Class jxtaimpl.storage.AnthillResource implements Serializable

Serialized Fields

pipeId

URL pipeId

pipeName

String pipeName

pipeType

String pipeType

species

String species

content

Content content
This is a descriptor for the resource.

Class jxtaimpl.storage.Query implements Serializable

Serialized Fields

elName

String elName

values

String values

Class jxtaimpl.storage.ResourceAlreadyStoredException implements Serializable