A simulator to implement peer-to-peer communication strategies between 4^n nodes in a network.
| Roll No. | Name |
|---|---|
| EDM18B037 | Mayank Navneet Mehta |
| EDM18B054 | Vishva Nilesh Bhate |
networkxmatplotlib
To install the dependencies, run the following command
pip3 install -r requirements.txtTo execute the simulator on command line:
cd nibble-sim
python3 nibble_sim.pyTo execute as a container:
- Create the docker image using the
Dockerfile:
docker build -t nibble-sim-docker .- Create a container using the docker image:
docker run -it --rm --name nib-sim-test nibble-sim-dockerThe nibble_sim.py script is executed immediately.
- Attach more shells to the container and execute:
python3 nibble_sim.pyNote: 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.