Research Article
TPR-DTVN: A Routing Algorithm in Delay Tolerant Vessel Network Based on Long-Term Trajectory Prediction
Algorithm 1
TPR-distributed Algorithm.
Input:n,v,infn,infv,tcur. | Variables:n: the current node; v: the meeting node; infn,infv: information of node n, v; vn: stored information of node n; tcur: current time. | 1: vn = vn ∪ v. | 2: Merge and Update: infn,infv ← infn ∪ infv. | 3: For each vessel in vn, predict trajectory and evaluation table of all nodes between tcur to tcur + TTL by their model and sliding window. | 4: Construct contact graph based on infn. | 5: For each p ∈ Pn, n calculate . | 6: Transmit each p to v when v has greater . |
|