Skip to content

bluemmb/CoordinatedAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coordinated Attack

A simple program that simulates Coordinated Attack algorithm. It supposes that all of the nodes(=n) start with value 1.

The code simulates the algorithm with r Rounds and for Messegae Delivery Percentage of [0, 100], to show how Network Availibility can affect the final result to be on 1 (assuming that all of them have started with value 1).

  • Because of some optimizations put in the code to make it faster with high number of simulation iterations, the code might seem a little different than the starightforward implementation.

Some plots generated by the code for nodes=5, rounds=5, simulation times=1000 :

n=5, r=1

n=5, r=2

n=5, r=3

n=5, r=4

n=5, r=5

Please note that this is only a simple simulation, might even with bugs in the implementation!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages