parameters: (self)
return_statement: return _c_leiden._MutableVertexPartition_total_possible_edges_in_all_comms(self._partition)
docstring: The total possible number of edges in all communities.
  
      Notes
      -----
      If we denote by :math:`n_c` the number of nodes in community :math:`c`,
      this is simply
  
      .. math :: \\sum_c \\binom{n_c}{2}
docstring_summary: The total possible number of edges in all communities.
docstring_tokens: The total possible number of edges in all communities .
function: def total_possible_edges_in_all_comms(self):
      """ The total possible number of edges in all communities.
  
      Notes
      -----
      If we denote by :math:`n_c` the number of nodes in community :math:`c`,
      this is simply
  
      .. math :: \\sum_c \\binom{n_c}{2}
  
      """
      return _c_leiden._MutableVertexPartition_total_possible_edges_in_all_comms(self._partition)
function_tokens: def total_possible_edges_in_all_comms ( self ) : return _c_leiden . _MutableVertexPartition_total_possible_edges_in_all_comms ( self . _partition )