sidnet.stack.users.waspsample.driver
Class Driver_Wasp

java.lang.Object
  extended by sidnet.stack.users.waspsample.driver.Driver_Wasp

public class Driver_Wasp
extends java.lang.Object


Field Summary
static Battery battery
          Define the battery-type for the nodes 75mAh should give enough juice for 24-48h
static EnergyConsumptionParameters eCostParam
           
static int fieldLength
           
static int nodes
           
static int time
           
static TopologyGUI topologyGUI
           
 
Constructor Summary
Driver_Wasp()
           
 
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)
           
static Field createSim(int nodes, int length)
          Initialize simulation environment and field
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topologyGUI

public static TopologyGUI topologyGUI

nodes

public static int nodes

fieldLength

public static int fieldLength

time

public static int time

battery

public static Battery battery
Define the battery-type for the nodes 75mAh should give enough juice for 24-48h


eCostParam

public static EnergyConsumptionParameters eCostParam
Constructor Detail

Driver_Wasp

public Driver_Wasp()
Method Detail

main

public static void main(java.lang.String[] args)

createSim

public static Field createSim(int nodes,
                              int length)
Initialize simulation environment and field

Parameters:
nodes - number of nodes
length - length of field
Returns:
simulation field

createNode

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)