Code Monkey home page Code Monkey logo

random-tdma's Introduction

Random TDMA

This repository implements the suggested algorithm-3 of the papper [1], which refers to a Random TDMA algorithm. In the context of this algorithm a passive star (coupler) system simulator was developed, so that it could be easy to modify the routing algorithm and simulate any of available algorithms that can apply at architecture of a Passive Star.

Sequence Diagram of Code Execution

sequenceDiagram
	Node-i->>Coupler:HelloMessage
	note right of Coupler: Add new Node at Coupler's Map
	Coupler->>Node-i:WelcomeMessage
	Coupler-->Node-i: Procedure starting
	loop Random TDMA
			note left of Node-i: With possibility-P
			loop Message Generation
				Node-i-->Node-i: Select a Random-Channel (R-Channel)
				Node-i-->Node-i: Select a Random-Node which listen at R-Channel
				Node-i->>Node-i: Create new Message
			end
			Coupler->>Coupler: Create new Packet
			Coupler-->Coupler: Random selects Node for each Channel
			loop Receive Message
        Coupler->>Node-i: You have been selected, to transmit at C-channnel
        note left of Node-i: If I have Message for C-channel
        Node-i->>Node-i: Pop-Message from C-Buffer Update Stats
        Node-i-->Node-i: Update Stats
        Node-i->>Coupler: Message
      end
      note right of Coupler: Receive Message for selected nodes
      Coupler->>Coupler: Send Packet
      Node-i->>Node-i: Receive Message from R-Channel
      note left of Node-i: If there is a Message for me at R-Channel
	end

Results

RandomTDMA_Diagramm

Bibliography

[1] Ganz, A. and Koren, Z., 1991, January. WDM passive star-protocols and performance analysis. In IEEE INFCOM'91-Communications Societies Proceedings (pp. 991-992). IEEE Computer Society.

random-tdma's People

Contributors

szzzr avatar

Watchers

 avatar

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.