public class ErrorModelNanopan5375 extends BasicErrorModel
Modifier and Type | Field and Description |
---|---|
static ErrorModelNanopan5375 |
EM_NANOPAN_5375
Predefined error model for Nanopan5375 radio chip with default maximum
error of 30 m = expected indoor radio range.
|
Constructor and Description |
---|
ErrorModelNanopan5375(double maximumAllowedError)
Creates a new instance of
ErrorModelNanopan5375 . |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone this error model (e.g. for performance reasons).
|
String |
getName()
Returns the name of the error model.
|
double |
getOffset(double distance,
double pNlos)
Gets the distance offset in meters from this error model.
|
String |
toString()
Returns a string representation of this error model.
|
configure, getAverageError, getMaximumAllowedError, getMaximumError, getScaleFactor, isConfigurable, isNegativeOffsetsEnabled, reset, setMaximumAllowedError, setNegativeOffsetsEnabled, setScaleFactor
public static final ErrorModelNanopan5375 EM_NANOPAN_5375
public ErrorModelNanopan5375(double maximumAllowedError)
ErrorModelNanopan5375
.maximumAllowedError
- The maximum allowed error.public String getName()
ErrorModel
The name should not be too long, e.g. less than 20 chars.
public double getOffset(double distance, double pNlos)
ErrorModel
The real distance between reference node and mobile node might be used by a model to model some sort of NLOS probability if second parameter is not used by the model.
distance
- The real distance between reference node and mobile node
corresponding to the current measurement. Will be ignored
by most error models.pNlos
- The NLOS probability in range (0,1).public String toString()
public Object clone()
BasicErrorModel
clone
in interface ErrorModel
clone
in class BasicErrorModel
null
if
cloning is not supported by error model.Copyright © 2012 Thomas Hillebrandt. All Rights Reserved.