/network-simulate-in-ns3

CS339 task, simulate a specific network

Primary LanguageC++

network-simulate-in-ns3

CS339 task, simulate a specific network

Tutorial

Put the .cc file and the two .txt file into the ns-3 directory:ns3/scratch and in the terminal: ./waf --run scratch/matrix-topo if you wanna see the result in visual ./waf --run scratch/matrix-topo --vis

build your own topology

the adjacency matrix of each node(an upper triangle matrix) and the node coordinates table. the example is just the two .txt file