MCPcopy Create free account
hub / github.com/CAIDA/walrus / insert_peer

Function insert_peer

contrib/asGraphGenerator.py:248–262  ·  view source on GitHub ↗

Inserts an ASN into each autonomous systems' list of peers. Args: autonomous_systems (List): The list containing all autonomous systems. peer1 (int): The ASN of an autonomous system in a peer-peer relationship. peer2 (int): The ASN of an autonomous system in a p

(autonomous_systems, peer1, peer2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

insert_relationshipFunction · 0.85

Calls 2

findFunction · 0.85
sorted_insertFunction · 0.85

Tested by

no test coverage detected