Research Article
Extracting Skeleton of the Global Terrorism Network Based on m-Modified Topology Potential
Algorithm 2
Pseudocode explaining the TPKS-skeleton network extraction.
| Skeleton Network Extraction Model (TPKS-skeleton) | | Input Original Network , Similarity Network , nodes in different clusters | | Output Skeleton Network | | (1)TPKS-skeleton () | | (2) ; | | (3) ; | | (4) = max(degree ()) | | (5) | | (6) | | (7) ; | | (8) | | (9) = merge(, ) | | (10) | | (11) for each pair of nodes , | | (12) if no. of edge between then | | (13) map all edges into a single tie | | (14) else | | (15) remain a tie between () | | (16) end if | | (17) until the network is connected | | (18) end for | | (19) return Skeleton Network |
|