|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdriver.bordercast
public class bordercast
Bordercast evaluation. Derived from CBR.java
Constructor Summary | |
---|---|
bordercast()
|
Method Summary | |
---|---|
static void |
addNode(driver.bordercast.CommandLineOptions opts,
int i,
java.util.Vector routers,
RouteZrp.ZrpStats stats,
Field field,
Placement place,
RadioInfo.RadioInfoShared radioInfo,
Mapper protMap,
PacketLoss inLoss,
PacketLoss outLoss)
Add node to the field and start it. |
static java.lang.reflect.Method |
findUniqueMethod(java.lang.Class c,
java.lang.String name)
Lookup method in a class by name. |
static void |
main(java.lang.String[] args)
Starts the bordercast simulation. |
static void |
showStats(java.util.Vector routers,
RouteZrp.ZrpStats stats)
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 bordercast()
Method Detail |
---|
public static java.lang.reflect.Method findUniqueMethod(java.lang.Class c, java.lang.String name) throws java.lang.NoSuchMethodException
c
- class to scanname
- method name
java.lang.NoSuchMethodException
- if method not found or not uniquepublic static void addNode(driver.bordercast.CommandLineOptions opts, int i, java.util.Vector routers, RouteZrp.ZrpStats 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 modelpublic static void showStats(java.util.Vector routers, RouteZrp.ZrpStats stats)
routers
- vectors to place zrp objects intostats
- zrp statistics collection objectpublic static void main(java.lang.String[] args)
args
- command-line arguments that may determine the parameters
of the simulation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |