Java Code to extract a network from Stanford Autonomous systems dataset by utilizing GraphStream library

Published: 4 August 2026| Version 2 | DOI: 10.17632/mb5c2nj232.2
Contributors:
,
,
,
,

Description

* Purpose: The Autonomous systems dataset provided by Stanford Network Analysis Project (https://snap.stanford.edu/data/as-733.html) represents a network that contains a large number of nodes. This might not be adequate to researchers who want to experiment with smaller number of nodes. In addition, the original data set is not stored in a format readable by GraphStream library (https://graphstream-project.org/ ). Therefore we provide a java code based on GraphStream library that extracts smaller completely connected subgraph from the original dataset and stores it in a GraphStream friendly format. * as20000102.txt: contains the graph that is provided by Autonomous systems dataset provided by Stanford Network Analysis Project (https://snap.stanford.edu/data/as-733.html). The file is provided here for convenience, but, It can also be downloaded from the previous link. If you download the original dataset from the previous link, then please make sure to remove the comments that starts with # symbol at the beginning of the file * GraphGenerator.java: Our code that extracts number of nodes from the original dataset. Then, delay and bandwidth values are added to network edges. After that, the extracted graph is stored in a GraphStream readable format. However, the result is a graph that contains isolated subgraphs. The code utilizes GraphStream library (https://graphstream-project.org/ ) * ConnectedGraphs.java: Our code that uses the graph extracted by the "GraphGenerator", then extracts the largest completely connected subgraph from it. The result is also stored in a GraphStream readable format. The code utilizes GraphStream library (https://graphstream-project.org/ ) * Note 1: If you use this code in your research accompanied with the Autonomous systems dataset, then, in addition to citation provided by Mendeley, please add proper citations to the original Autonomous systems dataset by Stanford Network Analysis Project and add proper citation to the GraphStream library. * Note 2: If you use this code in your research without using the Autonomous systems dataset, then, please make proper citation as provided by Mendeley. In addition, please add proper citation to GraphStream library.

Files

Categories

Networking

Licence