Skip to content

A simulator to implement peer-to-peer communication strategies between 4^n nodes in a network.

License

Notifications You must be signed in to change notification settings

DCN-project/nibble-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nibble-sim

About

A simulator to implement peer-to-peer communication strategies between 4^n nodes in a network.

Authors

Roll No. Name
EDM18B037 Mayank Navneet Mehta
EDM18B054 Vishva Nilesh Bhate

Dependencies

  • networkx
  • matplotlib

To install the dependencies, run the following command

pip3 install -r requirements.txt

Run

To execute the simulator on command line:

cd nibble-sim
python3 nibble_sim.py

To execute as a container:

  1. Create the docker image using the Dockerfile:
docker build -t nibble-sim-docker .
  1. Create a container using the docker image:
docker run -it --rm --name nib-sim-test nibble-sim-docker

The nibble_sim.py script is executed immediately.

  1. Attach more shells to the container and execute:
python3 nibble_sim.py

Note: You would need to connect your host system's X11 server with the container to visualize the network.

Click here to view at our documentation and notes.

About

A simulator to implement peer-to-peer communication strategies between 4^n nodes in a network.

Topics

Resources

License

Stars

Watchers

Forks