Research Article

Industry 4.0 Oriented Distributed Infographic Design

Algorithm 1

K-distance topology subgraph generation.
(i)Input: , and security distance K
(ii)Output: Nodes set K-dis-min-graph
(1)  Select any node
(2)  Connect nodes with distance less than K
(3)  L1: for i = 1
(4)   for j = 1
(5)   if
(6)    K-dis-min-graph
(7)    delete
(8)    
(9)    continue L1
(10)   end-if
(11)   end-for
(12)   end-for
(13)  return K-dis-min-graph