Research Article
RF Jamming Classification Using Relative Speed Estimation in Vehicular Wireless Networks
| (1) | number of observations | | (2) | | | (3) | array of estimated relative speed values | | (4) | array of real travelling speed values | | (5) | | | (6) | if[k] = [k + 1] then | | (7) | | | (8) | | | (9) | else if [k] [k + 1] then | | (10) | | | (11) | | | (12) | end if | | (13) | | | (14) | while do | | (15) | if[k] 0 then | | (16) | if [k] [k − 1] then | | (17) | if [k] = [k] then | | (18) | | | (19) | | | (20) | else if[k] [k] then | | (21) | | | (22) | | | (23) | end if | | (24) | else if [k] = [k − 1] then | | (25) | if [k] [k] then | | (26) | | | (27) | | | (28) | else if [k] = [k] then | | (29) | if ([k − 1] = [k − 1] && | | (30) | [k + 1] = [k + 1]) then | | (31) | | | (32) | | | (33) | else | | (34) | | | (35) | end | | (36) | end if | | (37) | end if | | (38) | else if | | (39) | [k] = 0 then | | (40) | if [k] 0 then | | (41) | | | (42) | | | (43) | else if [k] = 0 then | | (44) | if [k − 1] = [k − 1] then | | (45) | if trigger = 0 then | | (46) | | | (47) | | | (48) | else | | (49) | | | (50) | | | (51) | end if | | (52) | else if [k − 1] [k − 1] then | | (53) | | | (54) | | | (55) | end if | | (56) | end if | | (57) | end if | | (58) | end while | | (60) | return vrs |
|