|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidnet.stack.users.marco_project.packet_centric.driver.Driver_ElectrostaticRouting
public class Driver_ElectrostaticRouting
Field Summary | |
---|---|
static Battery |
battery
Define the battery-type for the nodes 75mAh should give enough juice for 24-48h |
static EnergyConsumptionParameters |
eCostParam
Define the power-consumption characteristics of the nodes, based on Mica Mote MPR500CA |
static ExperimentDataImpl |
experimentData
|
static int |
fieldLength
|
static int |
nodes
|
static int |
time
|
static TopologyGUI |
topologyGUI
|
Constructor Summary | |
---|---|
Driver_ElectrostaticRouting()
|
Method Summary | |
---|---|
static Node |
createNode(int id,
Field field,
Placement placement,
Mapper protMap,
RadioInfo.RadioInfoShared radioInfoShared,
PacketLoss plIn,
PacketLoss plOut,
PanelContext hostPanelContext,
LocationContext fieldContext,
SimManager simControl,
StatsCollector stats,
TopologyGUI topologyGUI)
Configures each node representation and network stack |
static Field |
createSim(int nodes,
int length)
Initialize simulation environment and field |
static void |
main(java.lang.String[] args)
This is the entry point in the program |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static TopologyGUI topologyGUI
public static int nodes
public static int fieldLength
public static int time
public static Battery battery
public static ExperimentDataImpl experimentData
public static EnergyConsumptionParameters eCostParam
Constructor Detail |
---|
public Driver_ElectrostaticRouting()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static Field createSim(int nodes, int length)
nodes
- number of nodeslength
- length of field
public static Node createNode(int id, Field field, Placement placement, Mapper protMap, RadioInfo.RadioInfoShared radioInfoShared, PacketLoss plIn, PacketLoss plOut, PanelContext hostPanelContext, LocationContext fieldContext, SimManager simControl, StatsCollector stats, TopologyGUI topologyGUI)
int
- id a numerical value to represent the id of a node. Will correspond to the IP address representationField
- the field propertiesPlacement
- information regarding positions length of fieldMapper
- network stack mapperRadioInfo.RadioInfoShared
- configuration of the radioplIn
- property of the PacketLoss for incoming data packetplOut
- property of the PacketLoss for outgoing data packethostPanelContext
- the context of the panel this node will be drawnfieldContext
- the context of the actual field this node is in (for GPS)simControl
- handle to the simulation managerBattery
- indicate the battery that will power this particular nodeStatsCollector
- the statistical collector tool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |