Research Article
Radio Network Forensic with mmWave Using the Dominant Path Algorithm
Algorithm 1
Outdoor ray-tracing algorithm pseudocode.
| (1) | //defining 5 dominant rays | | (2) | for = 1: 5 do | | (3) | //defining horizontal angles | | (4) | for hori = −180: do | | (5) | //defining vertical angles | | (6) | for vert = −90: do | | (7) | //developing rays and increment | | (8) | = 1 | | (9) | Develop-ray = i+1 | | (10) | | | (11) | //finding intersection points | | (12) | whiledo | | (13) | for j = 1: 2 do | | (14) | //finding diffracted rays | | (15) | ifthen | | (16) | | | (17) | else | | (18) | end | | (19) | //finding refracted rays | | (20) | | | (21) | | | (22) | end | | (23) | end | | (24) | end | | (25) | //applying the proposed model | | (26) | | | (27) | end | | (28) | end | | (29) | end |
|