|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.Constants
public final class Constants
SWANS constants.
Nested Class Summary | |
---|---|
class |
Constants.TCPSTATES
TCP States. |
Field Summary | |
---|---|
static double |
AMBIENT_NOISE_DEFAULT
Default ambient noise (units: mW). |
static int |
BANDWIDTH_DEFAULT
Default radio bandwidth (units: bits/second). |
static double |
BOLTZMANN
Boltzmann's constant (units: Joules/Kelvin). |
static long |
DAY
one day in simulation time units. |
static int |
EPSILON_DELAY
smallest possible delay. |
static float |
FIELD_BOUND_X
Default field boundary (units: sim distance, usually meters). |
static float |
FIELD_BOUND_Y
Default field boundary (units: sim distance, usually meters). |
static double |
FREQUENCY_DEFAULT
Default radio frequency (units: Hz). |
static double |
GAIN_DEFAULT
Default antenna gain (units: dB). |
static double |
HEIGHT_DEFAULT
Default radio height (units: sim distance units, usually meters). |
static long |
HOUR
one hour in simulation time units. |
static long |
LINK_DELAY
link layer delay. |
static double |
log10
Pre-computed natural logarithm of 10. |
static boolean |
MAC_PROMISCUOUS_DEFAULT
Default mac promiscuous mode. |
static long |
MICRO_SECOND
one micro-second in simulation time units. |
static long |
MILLI_SECOND
one milli-second in simulation time units. |
static long |
MINUTE
one minute in simulation time units. |
static int |
MOBILITY_DEFAULT
node mobility choice constant. |
static int |
MOBILITY_INVALID
node mobility choice constant. |
static int |
MOBILITY_STATIC
node mobility choice constant. |
static int |
MOBILITY_TELEPORT
node mobility choice constant. |
static int |
MOBILITY_WALK
node mobility choice constant. |
static int |
MOBILITY_WAYPOINT
node mobility choice constant. |
static long |
NANO_SECOND
one nano-second in simulation time units. |
static long |
NET_DELAY
network layer delay. |
static int |
NET_INTERFACE_DEFAULT
network interface constant. |
static int |
NET_INTERFACE_INVALID
network interface constant. |
static int |
NET_INTERFACE_LOOPBACK
network interface constant. |
static int |
NET_LOSS_DEFAULT
network layer loss model choice constant. |
static int |
NET_LOSS_INVALID
network layer loss model choice constant. |
static int |
NET_LOSS_NONE
network layer loss model choice constant. |
static int |
NET_LOSS_UNIFORM
network layer loss model choice constant. |
static byte |
NET_PRIORITY_CONTROL
network packet priority level. |
static byte |
NET_PRIORITY_INVALID
network packet priority level. |
static byte |
NET_PRIORITY_NORMAL
network packet priority level. |
static byte |
NET_PRIORITY_NUM
network packet priority level. |
static byte |
NET_PRIORITY_REALTIME
network packet priority level. |
static short |
NET_PROTOCOL_AODV
network level (IP) protocol number. |
static short |
NET_PROTOCOL_BELLMANFORD
network level (IP) protocol number. |
static short |
NET_PROTOCOL_DSR
network level (IP) protocol number. |
static short |
NET_PROTOCOL_FISHEYE
network level (IP) protocol number. |
static short |
NET_PROTOCOL_HEARTBEAT
network level (IP) protocol number. |
static short |
NET_PROTOCOL_INVALID
network level (IP) protocol number. |
static short |
NET_PROTOCOL_LAR1
network level (IP) protocol number. |
static short |
NET_PROTOCOL_MAX
network level (IP) protocol number. |
static short |
NET_PROTOCOL_NO_NEXT_HEADER
network level (IP) protocol number. |
static short |
NET_PROTOCOL_ODMRP
network level (IP) protocol number. |
static short |
NET_PROTOCOL_OSPF
network level (IP) protocol number. |
static short |
NET_PROTOCOL_TCP
network level (IP) protocol number. |
static short |
NET_PROTOCOL_UDP
network level (IP) protocol number. |
static short |
NET_PROTOCOL_ZRP
network level (IP) protocol number. |
static short |
NET_PROTOCOL_ZRP_BRP_DEFAULT
zrp-subprotocol number. |
static short |
NET_PROTOCOL_ZRP_BRP_FLOOD
zrp-subprotocol number. |
static short |
NET_PROTOCOL_ZRP_IARP_DEFAULT
zrp-subprotocol number. |
static short |
NET_PROTOCOL_ZRP_IARP_ZDP
zrp-subprotocol number. |
static short |
NET_PROTOCOL_ZRP_IERP_DEFAULT
zrp-subprotocol number. |
static short |
NET_PROTOCOL_ZRP_NDP_DEFAULT
zrp-subprotocol number. |
static int |
PLACEMENT_DEFAULT
node placement choice constant. |
static int |
PLACEMENT_GRID
node placement choice constant. |
static int |
PLACEMENT_INVALID
node placement choice constant. |
static int |
PLACEMENT_MAX
node placement choice constant. |
static int |
PLACEMENT_RANDOM
node placement choice constant. |
static long |
PROCESS_IMMEDIATELY
zero delay. |
static double |
PROPAGATION_LIMIT_DEFAULT
Default minimum propagated signal (units: dBm). |
static byte |
RADIO_MODE_IDLE
Radio mode: idle, no signals. |
static byte |
RADIO_MODE_RECEIVING
Radio mode: signal locked and receiving packet. |
static byte |
RADIO_MODE_SENSING
Radio mode: some signals above sensitivity. |
static byte |
RADIO_MODE_SLEEP
Radio mode: sleeping. |
static byte |
RADIO_MODE_TRANSMITTING
Radio mode: transmitting packet. |
static int |
RADIO_NOUSER_DELAY
Constant used to specify the default "delay to the wire". |
static long |
RADIO_PHY_DELAY
physical layer delay. |
static long |
RADIO_TURNAROUND_TIME
RX-TX switching delay. |
static java.util.Random |
random
Global random number generator. |
static long |
SECOND
one second in simulation time units. |
static double |
SENSITIVITY_DEFAULT
Default radio reception sensitivity (units: dBm). |
static double |
SNR_THRESHOLD_DEFAULT
Default threshold signal-to-noise ratio. |
static int |
SPATIAL_GRID
spatial data structure choice constant. |
static int |
SPATIAL_HIER
spatial data structure choice constant. |
static int |
SPATIAL_INVALID
spatial data structure choice constant. |
static int |
SPATIAL_LINEAR
spatial data structure choice constant. |
static int |
SPATIAL_WRAP
spatial data structure choice constant. |
static double |
SPEED_OF_LIGHT
Speed of light in a vacuum (units: meter/second). |
static short |
TCP_PROTOCOL_ECHO
transport level (tcp/udp) protocol number. |
static short |
TCP_PROTOCOL_FTP
transport level (tcp/udp) protocol number. |
static short |
TCP_PROTOCOL_HTTP
transport level (tcp/udp) protocol number. |
static short |
TCP_PROTOCOL_SMTP
transport level (tcp/udp) protocol number. |
static short |
TCP_PROTOCOL_TELNET
transport level (tcp/udp) protocol number. |
static short |
TCP_PROTOCOL_TIME
transport level (tcp/udp) protocol number. |
static double |
TEMPERATURE_DEFAULT
Default temperature (units: degrees Kelvin). |
static double |
TEMPERATURE_FACTOR_DEFAULT
Default temperature noise factor. |
static double |
THRESHOLD_DEFAULT
Default radio reception threshold (units: dBm). |
static long |
TRANS_DELAY
transport layer delay. |
static long |
TRANS_PROCESSING_DELAY
socket delay. |
static short |
TRANS_PROTOCOL_INVALID
transport level (tcp/udp) protocol number. |
static double |
TRANSMIT_DEFAULT
Default transmission strength (units: dBm). |
static byte |
TTL_DEFAULT
default time-to-live. |
static int |
ZERO_WIRE_SIZE
packet with zero wire size. |
Constructor Summary | |
---|---|
Constants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.Random random
public static final long PROCESS_IMMEDIATELY
public static final int EPSILON_DELAY
public static final long NANO_SECOND
public static final long MICRO_SECOND
public static final long MILLI_SECOND
public static final long SECOND
public static final long MINUTE
public static final long HOUR
public static final long DAY
public static final double BOLTZMANN
public static final double SPEED_OF_LIGHT
public static final double log10
public static final float FIELD_BOUND_X
public static final float FIELD_BOUND_Y
public static final int PLACEMENT_INVALID
public static final int PLACEMENT_RANDOM
public static final int PLACEMENT_GRID
public static final int PLACEMENT_MAX
public static final int PLACEMENT_DEFAULT
public static final int MOBILITY_INVALID
public static final int MOBILITY_STATIC
public static final int MOBILITY_WAYPOINT
public static final int MOBILITY_TELEPORT
public static final int MOBILITY_WALK
public static final int MOBILITY_DEFAULT
public static final int SPATIAL_INVALID
public static final int SPATIAL_LINEAR
public static final int SPATIAL_GRID
public static final int SPATIAL_HIER
public static final int SPATIAL_WRAP
public static final int ZERO_WIRE_SIZE
public static final byte RADIO_MODE_SLEEP
public static final byte RADIO_MODE_IDLE
public static final byte RADIO_MODE_SENSING
public static final byte RADIO_MODE_RECEIVING
public static final byte RADIO_MODE_TRANSMITTING
public static final long RADIO_TURNAROUND_TIME
public static final long RADIO_PHY_DELAY
public static final int RADIO_NOUSER_DELAY
public static final double FREQUENCY_DEFAULT
public static final int BANDWIDTH_DEFAULT
public static final double TRANSMIT_DEFAULT
public static final double GAIN_DEFAULT
public static final double SENSITIVITY_DEFAULT
public static final double THRESHOLD_DEFAULT
public static final double TEMPERATURE_DEFAULT
public static final double TEMPERATURE_FACTOR_DEFAULT
public static final double AMBIENT_NOISE_DEFAULT
public static final double PROPAGATION_LIMIT_DEFAULT
public static final double HEIGHT_DEFAULT
public static final double SNR_THRESHOLD_DEFAULT
public static final boolean MAC_PROMISCUOUS_DEFAULT
public static final long LINK_DELAY
public static final int NET_LOSS_INVALID
public static final int NET_LOSS_NONE
public static final int NET_LOSS_UNIFORM
public static final int NET_LOSS_DEFAULT
public static final byte NET_PRIORITY_CONTROL
public static final byte NET_PRIORITY_REALTIME
public static final byte NET_PRIORITY_NORMAL
public static final byte NET_PRIORITY_NUM
public static final byte NET_PRIORITY_INVALID
public static final int NET_INTERFACE_INVALID
public static final int NET_INTERFACE_LOOPBACK
public static final int NET_INTERFACE_DEFAULT
public static final long NET_DELAY
public static final byte TTL_DEFAULT
public static final short NET_PROTOCOL_INVALID
public static final short NET_PROTOCOL_TCP
public static final short NET_PROTOCOL_UDP
public static final short NET_PROTOCOL_OSPF
public static final short NET_PROTOCOL_BELLMANFORD
public static final short NET_PROTOCOL_FISHEYE
public static final short NET_PROTOCOL_AODV
public static final short NET_PROTOCOL_DSR
public static final short NET_PROTOCOL_ODMRP
public static final short NET_PROTOCOL_LAR1
public static final short NET_PROTOCOL_ZRP
public static final short NET_PROTOCOL_ZRP_NDP_DEFAULT
public static final short NET_PROTOCOL_ZRP_IARP_DEFAULT
public static final short NET_PROTOCOL_ZRP_BRP_DEFAULT
public static final short NET_PROTOCOL_ZRP_IERP_DEFAULT
public static final short NET_PROTOCOL_ZRP_IARP_ZDP
public static final short NET_PROTOCOL_ZRP_BRP_FLOOD
public static final short NET_PROTOCOL_NO_NEXT_HEADER
public static final short NET_PROTOCOL_HEARTBEAT
public static final short NET_PROTOCOL_MAX
public static final long TRANS_DELAY
public static final long TRANS_PROCESSING_DELAY
public static final short TRANS_PROTOCOL_INVALID
public static final short TCP_PROTOCOL_ECHO
public static final short TCP_PROTOCOL_FTP
public static final short TCP_PROTOCOL_TELNET
public static final short TCP_PROTOCOL_SMTP
public static final short TCP_PROTOCOL_TIME
public static final short TCP_PROTOCOL_HTTP
Constructor Detail |
---|
public Constants()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |