Includes Dutch documentation. Code comments are in English.
A Java implementation of Peterson's algorithm. Any number of processes in a bidirectional ring will elect a leader while only communicating with their neighbors.
Source code, documentation and a demonstration batch file is included. Works on Windows and Linux. Please compile before executing.