Next: 19. Energy Model in
Up: 18. Radio Propagation Models
Previous: 18.4 Communication range
Contents
Index
18.5 Commands at a glance
Following is a list of commands for propagation models.
$ns_ node-config -propType propagation-model
This command selects propagation-model in the simulation. the
propagation model can be Propagation/FreeSpace,
Propagation/TwoRayGround or Propagation/Shadowing
$ns_ node-config -propInstance $prop
This command is another way to utilize a propagation model. $prop is
an instance of the propagation-model.
$sprop_ seed seed-type value
This command seeds the RNG. $sprop_ is an instance of the shadowing model.
threshold -m propagation-model [other-options] distance
This is a separate program at ~ns/indep-utils/propagation/threshold.cc, which
is used to compute the receiving threshold for a specified communication range.
2008-12-02