Algorithm SteadyTraffic2 |
Inputs: |
β, , , , , : same as SteadyTraffic, |
β : 1 hop packet error ratio from to , |
β: expected car density at , |
β: numeric parameters, |
β: vector representing the moving |
ββdirection. |
Output: |
β Approximate communication probability |
from to with time limit . |
begin |
β . For every space time do ; |
β . ; |
β . for to do |
ββ3-1. for every space time do |
βββ3-1-1. ; |
βββ3-1-2. for every other space time and |
βββββsuch that |
βββββi) , ii) , iii) , |
βββββiv) and iv) |
βββββ is the set of -neighbors of |
βββββ represents the inner product of two vectors |
βββββdo |
ββββ3-1-2-1. ; |
ββββ3-1-2-2. ; |
ββββ3-1-2-3. ; |
βββ3-1-3. end for |
ββ3-2. end for |
ββ . end for |
ββ . return ; |
βend |