|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ants.freeant.GnutantFactory
Field Summary | |
static String |
PAR_EXPLORATIONATTEMPTS
Parameter name used to read explorationAttempts |
static String |
PAR_EXPLORATIONPROB
Parameter name used to read explorationProbability |
static String |
PAR_MAXPROVIDERS
Parameter name used to read trailDev |
static String |
PAR_MAXRESOURCES
Parameter name used to read trailDev |
static String |
PAR_TRAILATTEMPTS
Parameter name used to read trailAttempts |
static String |
PAR_TRAILDEV
Parameter name used to read trailDev |
Fields inherited from interface anthill.AntFactory |
NAME |
Constructor Summary | |
GnutantFactory(Factory factory,
String name)
Factory for creating Gnutant ant species. |
Method Summary | |
void |
clear()
Restores the object to its initial state. |
Ant[] |
getAnts(RequestId rid,
Object request,
NestId requestor)
Returns a set of ants for a query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PAR_EXPLORATIONPROB
public static final String PAR_TRAILATTEMPTS
public static final String PAR_TRAILDEV
public static final String PAR_EXPLORATIONATTEMPTS
public static final String PAR_MAXRESOURCES
public static final String PAR_MAXPROVIDERS
Constructor Detail |
public GnutantFactory(Factory factory, String name)
factory
- the factory to be used to read configuration arguments
and to create other configurable objectsname
- the name that is associated to this instance in the
configuration fileMethod Detail |
public void clear()
clear
in interface Clearable
public Ant[] getAnts(RequestId rid, Object request, NestId requestor)
getAnts
in interface AntFactory
request
- the object containing the request to be satisfied
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |