Previous topic

fnss.topologies.parsers.parse_rocketfuel_isp_map

Next topic

fnss.topologies.randmodels.barabasi_albert_topology

fnss.topologies.parsers.parse_topology_zoo

parse_topology_zoo(path)[source]

Parse a topology from the Topology Zoo dataset.

Note: if the topology to be parsed contains multilinks, i.e. multiple links between the same pair or nodes, the parsing may fail or not parse only one link.

Parameters :

path : str

The path to the Topology Zoo file

Returns :

topology : Topology or DirectedTopology