Giter VIP home page Giter VIP logo

distributedalgorithms's Introduction

README

Just run 'java -jar project.jar'

When you execute the jar file you can choose between:

  • start the simulation with the default configurations
  • modify the number of the peers. Pay attention, only with 2 peers the lattice will be created and evaluated.
  • modify the duration of the simulation.
  • modify the delta time between one event and another for all the peers
  • modify the probability of an internal event with respect to a message exchange.
  • modify the probability that the peers variables will change.
  • modify the labels of the resulting lattice
  • modify the predicate to be evaluated

When execution is started you can see the events and the exchange of messages between the peer. At the end of the simulation, in the "out" folder you will find the lattice.dot and latticeWithVar.dot Run this command to create the image of the lattice dot -Tpng lattice.dot > lattice.png

And this command to create the image of the lattice with the filled vertex where the predicate is true dot -Tpng latticeWithVar.dot > latticeWithVar.png

When the simulation ends, you can always change the predicate or modify the label of the latticeWithVar and recreate it without running a new simulation.

If you want to recompile it you can also use 'ant' and when you finish run 'java -jar project.jar'

!!IMPORTANT!! Do not delete anything into /lib folder

distributedalgorithms's People

Contributors

michelebof avatar robzenn92 avatar

Watchers

 avatar  avatar  avatar

distributedalgorithms's Issues

mXparser - v.4.0.0

There is a new version of mXparser library - this is a major change + bug fixing. I recommend updating :-)

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.