Network Analysis: finding infected nodes and seeding of a network
Dependencies :
$ sudo apt-get install python-pip
$ sudo pip install networkx
$ sudo pip install matplotlib
Navigate to skynet/code
$ python seeding.py
Making sure Python is added to build path. Pip is present in /Scripts/pip.exe
Dependencies :
> pip install networkx
> pip install matplotlib
Navigate to skynet/code
> python seeding.py
for pygraphviz :
sudo apt-get install -y graphviz libgraphviz-dev pkg-config python-pip
sudo pip install pygraphviz --install-option="--include-path=/usr/include/graphviz" --install-option="--library-path=/usr/lib/graphviz/"
Read : https://github.com/pygraphviz/pygraphviz/issues/71