driver
Class aodvtest
java.lang.Object
driver.aodvtest
public class aodvtest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLIENT_ID
public static final int CLIENT_ID
- See Also:
- Constant Field Values
INTERM_ID
public static final int INTERM_ID
- See Also:
- Constant Field Values
SERVER_ID
public static final int SERVER_ID
- See Also:
- Constant Field Values
PORT
public static final int PORT
- See Also:
- Constant Field Values
PAUSE_TIME
public static final int PAUSE_TIME
- random waypoint pause time.
- See Also:
- Constant Field Values
GRANULARITY
public static final int GRANULARITY
- random waypoint granularity.
- See Also:
- Constant Field Values
MIN_SPEED
public static final int MIN_SPEED
- random waypoint minimum speed.
- See Also:
- Constant Field Values
MAX_SPEED
public static final int MAX_SPEED
- random waypoint maximum speed.
- See Also:
- Constant Field Values
aodvtest
public aodvtest()
createNode
public static void createNode(int i,
Field field,
float x,
float y,
RadioInfo.RadioInfoShared radioInfoShared,
Mapper protMap,
java.lang.Class appClass,
PacketLoss plIn,
PacketLoss plOut)
- Create node at location (x,y)
- Parameters:
i
- node idfield
- x
- node's x-coordinatey
- node's y-coordinateradioInfoShared
- protMap
- protocol mapperappClass
- class of application to run at this node
createSim
public static void createSim()
main
public static void main(java.lang.String[] args)