|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.micro.MicroAgent
jadex.micro.benchmarks.AgentCreationAgent
public class AgentCreationAgent
Agent creation benchmark.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jadex.micro.MicroAgent |
|---|
MicroAgent.TimerWrapper |
| Field Summary |
|---|
| Fields inherited from class jadex.micro.MicroAgent |
|---|
interpreter, longtime, timers |
| Constructor Summary | |
|---|---|
AgentCreationAgent()
|
|
| Method Summary | |
|---|---|
protected String |
createPeerName(int num,
IComponentIdentifier cid)
Create a name for a peer with a given number. |
protected void |
deletePeers(int cnt,
long killstarttime,
double dur,
double pera,
long omem,
double upera,
int max,
IMicroExternalAccess exta,
boolean nested)
Delete all peers from last-1 to first. |
void |
executeBody()
Execute an agent step. |
static Object |
getMetaInfo()
Get the meta information about the agent. |
protected void |
killLastPeer(int max,
long killstarttime,
double dur,
double pera,
long omem,
double upera,
IMicroExternalAccess exta)
Kill the last peer and print out the results. |
protected void |
step1(Map args)
Execute the first step. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentCreationAgent()
| Method Detail |
|---|
public void executeBody()
executeBody in interface IMicroAgentexecuteBody in class MicroAgentprotected void step1(Map args)
protected String createPeerName(int num,
IComponentIdentifier cid)
protected void deletePeers(int cnt,
long killstarttime,
double dur,
double pera,
long omem,
double upera,
int max,
IMicroExternalAccess exta,
boolean nested)
cnt - The highest number of the agent to kill.
protected void killLastPeer(int max,
long killstarttime,
double dur,
double pera,
long omem,
double upera,
IMicroExternalAccess exta)
public static Object getMetaInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||