Functions for information-theoretic graph compression are presented in this repository.
The second function is a simple function used to output the binary entropy given a distribution
The third function generates the value of the entropy of an ER random graph,