|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.semoa.agent.RoundtripAgent cbr.agent.CCVGathererAgent
This gatherer agent hops to a number of agent servers and collects index information of pictures provided by the visited servers. Indexing is done according to the 'Color Coherence Vector' scheme published by Pass et al.
The agent needs to be configured in a certain way. In particular its itinerary must be specified by means of the agent's properties.
PicsSource
service.
PicsIndex
service.
Field Summary | |
static String |
NAME_IDX
The name of the index file. |
static String |
NAME_THUMBS
The name of the directory in which thumbnails are kept. |
static String |
NAME_TMP
The name of the temporary index file. |
protected long |
time_
The time this agent started (the first time it is run). |
Fields inherited from class de.fhg.igd.semoa.agent.RoundtripAgent |
debug_, env_, MAX_RETRIES, mob_, start_, vars_ |
Constructor Summary | |
CCVGathererAgent()
|
Method Summary | |
protected void |
finish()
This method shall be executed when the gatherer is at its destination host on which it is expected to update the index with the collected PictureEntries. |
void |
onRunning()
This method is called upon running the agent. |
protected void |
perform()
Gathers the feature vectors of local pictures. |
Methods inherited from class de.fhg.igd.semoa.agent.RoundtripAgent |
getHopNumber, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String NAME_IDX
public static final String NAME_TMP
public static final String NAME_THUMBS
protected long time_
Constructor Detail |
public CCVGathererAgent()
Method Detail |
public void onRunning()
On each hop, a dummy index file is created in the mutable part of the agent. The files' names are of the form <n>/idx, where <n> stands for the number of the hop. Hop numbers starts with zero. If the structure is mapped to a file system then the above form implies that a directory is created for each hop. This allows to set a security policy which controls access to the individual indexes.
onRunning
in class RoundtripAgent
protected void perform() throws Exception
PicsSource
service
is installed locally. The path to this service is
configured by means of the agent's properties. The
relevant property is:
perform
in class RoundtripAgent
Exception
- if something's wrong.protected void finish() throws Exception
The name and level of the PicsIndex
to use must be configured in the agent's properties.
The property is:
finish
in class RoundtripAgent
if
- somethong's wrong.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |