Skip to Main Content
Simulation Technologies in Networking and Communications
book

Simulation Technologies in Networking and Communications

by Al-Sakib Khan Pathan, Muhammad Mostafa Monowar, Shafiullah Khan
October 2014
Intermediate to advanced content levelIntermediate to advanced
648 pages
25h 35m
English
CRC Press
Content preview from Simulation Technologies in Networking and Communications
89Superefcient Monte Carlo Simulations
The procedure of doubling the number λx is summarized in Algorithm 3.4. Note that the numeri-
cal error of (3.68) is given by
01
20212
2
22
3
2
1
≤− ++++
+
TxeT xeTxeT xeTx
n
n
() () () () () lomod
****
λ
gg( ).
2
2
λ
L
(3.69)
For a given λ, the error can be made arbitrarily small by increasing the number of bits L, and there
is no error propagation.
Algorithm 3.4 Randomized Doubling
λ: = e
0
+ e
1
2 + … + e
n
2
n
Input: the multiplier.
1.
b (b
0
,b
1
, …,b
n
)
Initialize buffer.
Repeat
2.
se
b
ii
i
n
=
0
Calculate the LSB.
3.
x (x1) + 2
L
s
Left shift x and restore the loss bit by adding the LSB.
4.
b (b1) + (0,0, …,X)
Left shift t ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Principles of Communication Systems Simulation with Wireless Applications

Principles of Communication Systems Simulation with Wireless Applications

K. Sam Shanmugan, Theodore S. Rappaport, William H. Tranter, Kurt L. Kosbar
Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Wireless Network Simulation: A Guide using Ad Hoc Networks and the ns-3 Simulator

Henry Zárate Ceballos, Jorge Ernesto Parra Amaris, Hernan Jiménez Jiménez, Diego Alexis Romero Rincón, Oscar Agudelo Rojas, Jorge Eduardo Ortiz Triviño

Publisher Resources

ISBN: 9781482225495