summaryrefslogtreecommitdiff
path: root/networkx/generators/internet_as_graphs.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/generators/internet_as_graphs.py')
-rw-r--r--networkx/generators/internet_as_graphs.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/networkx/generators/internet_as_graphs.py b/networkx/generators/internet_as_graphs.py
index 28b5b986..2c93ab0e 100644
--- a/networkx/generators/internet_as_graphs.py
+++ b/networkx/generators/internet_as_graphs.py
@@ -417,21 +417,22 @@ def random_internet_as_graph(n, seed=None):
-----
This algorithm returns an undirected graph resembling the Internet
Autonomous System (AS) network, it uses the approach by Elmokashfi et al.
- [1] and it grants the properties described in the related paper [1].
+ [1]_ and it grants the properties described in the related paper [1]_.
Each node models an autonomous system, with an attribute 'type' specifying
its kind; tier-1 (T), mid-level (M), customer (C) or content-provider (CP).
Each edge models an ADV communication link (hence, bidirectional) with
attributes:
- - type: transit|peer, the kind of commercial agreement between nodes;
- - customer: <node id>, the identifier of the node acting as customer
- ('none' if type is peer).
+
+ - type: transit|peer, the kind of commercial agreement between nodes;
+ - customer: <node id>, the identifier of the node acting as customer
+ ('none' if type is peer).
References
----------
- [1] A. Elmokashfi, A. Kvalbein and C. Dovrolis, "On the Scalability of
- BGP: The Role of Topology Growth," in IEEE Journal on Selected Areas
- in Communications, vol. 28, no. 8, pp. 1250-1261, October 2010.
+ .. [1] A. Elmokashfi, A. Kvalbein and C. Dovrolis, "On the Scalability of
+ BGP: The Role of Topology Growth," in IEEE Journal on Selected Areas
+ in Communications, vol. 28, no. 8, pp. 1250-1261, October 2010.
"""
GG = AS_graph_generator(n, seed)