code: def compute_edge_reduction(self) -> float:
          
          nb_init_edge = self.init_edge_number()
          nb_poweredge = self.edge_number()
          return (nb_init_edge - nb_poweredge) / (nb_init_edge)
docs: Compute the edge reduction. Costly computation