/Space-Explorers-and-Federation-HQ

Homework for the Parallel and Distributed Algorithms course @ ACS, UPB 2019

Primary LanguageJavaMIT LicenseMIT

Space-Explorers-and-Federation-HQ

Homework for the Parallel and Distributed Algorithms course @ ACS, UPB 2019

Algorithm

Space-Explorers-and-Federation-HQ is a Producer-Consumer Type of Problem.

Experimented Java Multithreading in this multiple producer-multiple consumer problem. The space explorers and the headquarters are both consumers and producers, switching their roles.

How to run

java Homework <wormHoles> <hashCount> <federationHQCount> <spaceExplorerCount>