psprao95 / Variable-Speeds-Algorithm

A Java multi-threaded implementation of the Variable Speeds algorithm for leader election in a unidirectional synchronous ring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable-Speeds-Algorithm

A Java multi-threaded implementation of the Variable Speeds algorithm for leader election in a unidirectional synchronous ring.

Run the application

  1. Open Eclipse

  2. Select File -> Import -> General -> Open projects from File System -> Navigate to Directory -> Finish

  3. Open the file VariableSpeeds.java. Right click -> Run as Java Application

  4. You can modify the input.dat file to change the number of processes or the UIDs of the process.

About

A Java multi-threaded implementation of the Variable Speeds algorithm for leader election in a unidirectional synchronous ring.


Languages

Language:Java 100.0%