A collection of algorithms for Distributed Systems course (winter semester 2020/21) at Jagiellonian University, Theoretical Computer Science Department.
- Chang-Roberts algorithm
- Itai-Rodeh algorithm
- Dolev-Klawe-Rodeh algorithms A and B
- Peterson algorithm
- Hirschberg-Sinclair algorithm
- Peterson algorithm
- Hyperelect algorithm
- Humblet algorithm
- Yo-Yo algorithm
- Stages with feedback (Korach-Rotem-Santoro) algorithm
- Phase King algorithm
- Ben-Or randomized algorithm
- Gallager-Humblet-Spira algorithm
- Luby algorithm
Run example:
go run src/example/synchronized.go 5