Implementation of LEACH algorithm in Java
This program was written as an exercise of MSc in Computer Information Systems of Greek Open University, course PLS-62 Specialization in Networks and Communications. It is actually the answer of Question 5b of the 2nd Exercise for academic year 2017-2018.
It takes the number of nodes and rounds, and given a possibility it returns a verbose output of clusterheads per round.