|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdriver.aodvsim
public class aodvsim
AODV simulation. Derived from bordercast
| Constructor Summary | |
|---|---|
aodvsim()
|
|
| Method Summary | |
|---|---|
static void |
addNode(driver.aodvsim.CommandLineOptions opts,
int i,
java.util.Vector routers,
RouteAodv.AodvStats stats,
Field field,
Placement place,
RadioInfo.RadioInfoShared radioInfo,
Mapper protMap,
PacketLoss inLoss,
PacketLoss outLoss)
Add node to the field and start it. |
static void |
main(java.lang.String[] args)
Main entry point. |
static void |
showStats(java.util.Vector routers,
RouteAodv.AodvStats stats,
driver.aodvsim.CommandLineOptions opt,
java.util.Date startTime)
Display statistics at end of simulation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public aodvsim()
| Method Detail |
|---|
public static void addNode(driver.aodvsim.CommandLineOptions opts,
int i,
java.util.Vector routers,
RouteAodv.AodvStats stats,
Field field,
Placement place,
RadioInfo.RadioInfoShared radioInfo,
Mapper protMap,
PacketLoss inLoss,
PacketLoss outLoss)
opts - command-line optionsi - node number, which also serves as its addressrouters - list of zrp entities to be appended tostats - statistics collectorfield - simulation fieldplace - node placement modelradioInfo - shared radio informationprotMap - registered protocol mapinLoss - packet incoming loss modeloutLoss - packet outgoing loss model
public static void showStats(java.util.Vector routers,
RouteAodv.AodvStats stats,
driver.aodvsim.CommandLineOptions opt,
java.util.Date startTime)
routers - vectors to place zrp objects intostats - zrp statistics collection objectpublic static void main(java.lang.String[] args)
args - command-line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||