Giter Site home page Giter Site logo

networksimulator's Introduction

NetworkSimulator

A system to simulate packets moving around a network.

As part of my tutorage I have been learning about networks, my tutor explained the underlying princibles, a rough idea of how the code should look and left me to start building.

My network will run for a number of "test iterations" (a global variable the programmer can set at the top of the script). After this the network examines all the packets received and calculates the top three fastest times for each journey within the network.

The top times are accompanied by a list of nodes that were visited in order to achieve them. Using this node list the network creates new routing tables within each node (up to this point routes have been chosen based on randomly picked "node linkage" lists).

My "active_network" switch is then turned to True and the network runs through a number of "running iterations" (a global variable that can also be set at the top of the script). Finally the network will print the top times for this final iteration of the network.

Future plans include a genetic topology generator that will use these times to weight different shapes and sizes of networks to create an optimal solution.

networksimulator's People

Contributors

aj-hitchins avatar fmitchell259 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

networksimulator's Issues

PEP8

Hi Frank,

A little pointer to PEP8 - Syle guide for Python which contains best practise understood in the community around styling such as whitespace, variable and class name structures, and more!

Best,

AJ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.