Research Article
VR-CPES: A Novel Cyber-Physical Education Systems for Interactive VR Services Based on a Mobile Platform
Algorithm 1
Pseudocode of the TSN/SDN path selection algorithm.
| Input: N-Network Topology | | S-Source IP | | D-Destination IP | | Output: SP-Selected Path List | (1) | function PathSelection(N, S, D) | (2) | for i = 1 to Ai do | (3) | P ⟵ DelayCostShortest(N, S, D) | (4) | DeleteList(P, 1) | (5) | DeleteList(P, Plength) | (6) | for i = 1 to Plength do | (7) | RemoveNode(N, P[i]) | (8) | end for | (9) | SP[i] ⟵ sort(P) | (10) | end for | (11) | return SP | (12) | end function |
|