Pages

Sample Grapgh Adjacency List

1->2->3
2->1->3->4
3->1->2->4
4->2->3
5->6
6->5
7->8
8->7->9
9->8
10->11
11->10->12
12->11->13->14
13->12
14->12
15->16
16->15
17->18->19
18->17->19
19->17->18
20

 


Note: Each Row of the form (1->2->3->4). Where the first element (i.e. 1) is the source node and others are destination nodes.
Please don't include the note in the .csv file.

The  Graph for the above adjacency list is as follows:



No comments:

Post a Comment