jist.swans.radio
Class RadioInfo.RadioInfoShared

java.lang.Object
  extended by jist.swans.radio.RadioInfo.RadioInfoShared
All Implemented Interfaces:
JistAPI.Timeless
Enclosing class:
RadioInfo

public static class RadioInfo.RadioInfoShared
extends java.lang.Object
implements JistAPI.Timeless

Timeless information possibly shared among numerous Radio instances (only to save simulation memory.

Since:
SWANS1.0
Author:
Rimon Barr <barr+jist@cs.cornell.edu>

Field Summary
protected  double background_mW
          Background noise, including bandwidth factor (units: mW * bits/second).
protected  int bandwidth
          Bandwidth (units: bits/second).
protected  double gain
          Antenna gain (units: dBm).
protected  double sensitivity_mW
          Reception sensitivity (units: mW).
protected  double threshold_mW
          Reception threshold (units: mW).
protected  double transmit
          Transmission power (units: dBm).
protected  double wavelength
          Wavelength of radio (units: meter).
 
Constructor Summary
RadioInfo.RadioInfoShared()
           
 
Method Summary
 double getBackground_mW()
          Return background noise.
 int getBandwidth()
          Return radio bandwidth.
 double getGain()
          Return antenna gain.
 double getPower()
          Return radio transmission power.
 double getSensitivity_mW()
          Return reception sensitivity.
 double getThreshold_mW()
          Return reception threshold.
 double getWaveLength()
          Return radio wavelength.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

wavelength

protected double wavelength
Wavelength of radio (units: meter).


bandwidth

protected int bandwidth
Bandwidth (units: bits/second).


transmit

protected double transmit
Transmission power (units: dBm).


gain

protected double gain
Antenna gain (units: dBm).


sensitivity_mW

protected double sensitivity_mW
Reception sensitivity (units: mW).


threshold_mW

protected double threshold_mW
Reception threshold (units: mW).


background_mW

protected double background_mW
Background noise, including bandwidth factor (units: mW * bits/second).

Constructor Detail

RadioInfo.RadioInfoShared

public RadioInfo.RadioInfoShared()
Method Detail

getWaveLength

public double getWaveLength()
Return radio wavelength.

Returns:
wavelength (units: meter)

getBandwidth

public int getBandwidth()
Return radio bandwidth.

Returns:
bandwidth (units: bits/second)

getPower

public double getPower()
Return radio transmission power.

Returns:
transmission power (units: dBm)

getGain

public double getGain()
Return antenna gain.

Returns:
antenna gain (units: dBm)

getSensitivity_mW

public double getSensitivity_mW()
Return reception sensitivity.

Returns:
reception sensitivity (units: mW)

getThreshold_mW

public double getThreshold_mW()
Return reception threshold.

Returns:
reception threshold (units: mW)

getBackground_mW

public double getBackground_mW()
Return background noise.

Returns:
background noise (units: mW)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object