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 = vnv.
2: Merge and Update: infn,infvinfninfv.
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 pPn, n calculate .
6: Transmit each p to v when v has greater .