This is a simulation of the graph for average number of hops v/s average number of nodes using DAlPaS method for conjesion control in WSNs
1) Run the c++ program cn_Implementation.cppg++ cn_implementation.cpp
./a.out
2) Once that is run all the simulation result gets stored in statistics.txt
3) To get a graphical view of this data, run the python file plotGraph.py
python3 plotGraph.py