Algorithms (Dec 2022)

A General Computational Approach for Counting Labeled Graphs

  • Ravi Goyal,
  • Victor De Gruttola

DOI
https://doi.org/10.3390/a16010016
Journal volume & issue
Vol. 16, no. 1
p. 16

Abstract

Read online

This paper presents a general recursive formula to estimate the number of labeled graphs as well as details to evaluate the formula for the following graph properties: number of edges (graph density), degree sequence, degree distribution, classification mixing, and degree mixing, i.e., the formula estimates the number of labeled graphs that have given values for graph properties. The proposed approach can be extended to additional graph properties (e.g., number of triangles) as well as properties of bipartite graphs. For special settings in which formulas exist from previous research, simulation studies demonstrate the validity of the proposed approach. In addition, we demonstrate how our approach can be used to quantify the level of variability in values of a graph property in the subset of graphs that hold a specified value of a different graph property (or properties) constant.

Keywords