Skip to content

A framework to simulate behaviour of Disperse Network Aggregation algorithms - simplified.

Notifications You must be signed in to change notification settings

jstawik/WUST-DNA-Akkaless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WUST-DNA-Akkaless

About

This project is a version of WUST-DNA rewritten to run without Akka - which is beneficient when running on a single machine (it can still parallelize across multiple cores). As for the foreseeable future this is the main use case for us, this project is the one actively developed.

WUST-DNA - Wroclaw University of Science and Technology: Disperse Network Aggregation is a framework allowing for simulation of network of nodes running data propagation algorithms like the one from Jacek Cichoń and Karol Gotfryd. 2018. Average Counting via Approximate Histograms Currently it sports the following features:

  1. Reads input provided as a .json file (or multiple files) specyfying type of the network, type of the node (i.e. algorithm it's running) and parameters of those. The files will be processed sequentialy, but the networks will be simulated in parallel if possible.
  2. Saves output as either .json or .csv file. Has the possibility of creating plots on the fly, but jupyter notebooks are also in use to allow for data exploration.
  3. Offers the following network shapes:
    • Grid
  4. Offers the following node types:
    • JoinersLeavers
    • JoinersLeaversNoZeroCheck

Building the code

The code can be build after pulling it from github with a simple sbt compile task.

Running the code

The jar file can be run with one optional parameter: path to a directory containing .json jobs. It will Try to read each of those files as a Config of a simulation and if succesful - execute it. If run without parameters, the current path will be used. An example of .json job can be seen here

One can also just download the latest release jar file and run it - java being the only requirement.

Example usage:

> ls
WUST-DNA-Akkaless-v0.1.0.jar  config.json config2.json
> java -jar WUST-DNA-Akkaless-v0.1.0.jar

will run both config.json and config2.json

About

A framework to simulate behaviour of Disperse Network Aggregation algorithms - simplified.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages