|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyass.radio.FriisPathLossModel
public class FriisPathLossModel
Implements the free space path loss model using a simplified version of the Friis Transmission Equation. This class does not attempt to implement the full version of the Friis Transmisson Equation and hence takes no account of alignment, polarisation, conjugate matching etc - another class will be required if this more detailed version is required. See http://en.wikipedia.org/wiki/Friis_transmission_equation for further information on the Friis model.
| Field Summary | |
|---|---|
protected double |
exponent
The exponent of the Friis Transmission Equation |
protected java.util.Collection<Void> |
voids
The voids which may attenuate transmissions in the wireless medium |
| Constructor Summary | |
|---|---|
FriisPathLossModel()
Constructs a new instance of FriisPathLossModel using an
exponent of 2.0 in the Friis Transmission Equation. |
|
FriisPathLossModel(double exponent,
java.util.Collection<Void> voids)
Constructs a new instance of FriisPathLossModel using a
user-supplied exponent in the Friis Transmission Equation. |
|
| Method Summary | |
|---|---|
double |
receivedPowerRatio(Node source,
Node destination,
double frequency)
Calculates the proportion of transmitted power observed by the receiver, as the fraction Pr/Pt where Pr is received power and Pt is transmitted power. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double exponent
protected java.util.Collection<Void> voids
| Constructor Detail |
|---|
public FriisPathLossModel()
FriisPathLossModel using an
exponent of 2.0 in the Friis Transmission Equation.
This is the simplest form of the equation, modelling unobstructed
single-path transmission in a vacuum, and every condition 'perfect'.
public FriisPathLossModel(double exponent,
java.util.Collection<Void> voids)
FriisPathLossModel using a
user-supplied exponent in the Friis Transmission Equation. This exponent
is found experimentally, and is usually found in the interval [3,5].
This is a simple form of the equation, modelling unobstructed
multi-path transmission perhaps without line-of-sight, but most other
conditions 'perfect'.
exponent - the exponent for the Friis Transmission Equationvoids - the voids which may attenuate transmissions in the
wireless medium| Method Detail |
|---|
public double receivedPowerRatio(Node source,
Node destination,
double frequency)
throws PathLossException
receivedPowerRatio in interface PathLossModelsource - the source nodedestination - the destination nodefrequency - the transmission frequency
PathLossException - if the received power ratio cannot be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||