Polynomial-delay generation of functional digraphs up to isomorphism
Oscar Defrain, Antonio E. Porreca, Ekaterina Timofeeva
TL;DR
The paper addresses the enumeration of functional digraphs up to isomorphism (mapping patterns) and develops a reverse-search-based generator with $O(n^2)$ delay and linear space. A canonical isomorphism code for connected digraphs is built from unordered rooted-tree codes and a minimal-rotation criterion, enabling duplicates-free generation. The method extends to arbitrary digraphs via partition-based composition of connected components, preserving the delay and memory bounds. This work establishes the first polynomial-delay generator for functional digraphs and lays groundwork for generating restricted classes or broader graph families without sacrificing efficiency.
Abstract
We describe a procedure for the generation of functional digraphs up to isomorphism; these are digraphs with uniform outdegree 1, also called mapping patterns, finite endofunctions, or finite discrete-time dynamical systems. This procedure is based on a reverse search algorithm for the generation of connected functional digraphs, which is then applied as a subroutine for the generation of arbitrary ones. Both algorithms output solutions with $O(n^2)$ delay and require linear space with respect to the number $n$ of vertices.
