Year: 2026
Type: preprint
Abstract: Enumerating all valid cycles in a directed graph is a fundamental problem in graph theory. While established algorithms efficiently discover simple cycles, extracting non-simple circuits—where nodes may repeat but edges are bounded by capacity constraints—introducessevere combinatorial explosion. In this paper, we introduce Shakti’s Algorithm, a novelDepth-First Search architecture optimized for circuit enumeration. Furthermore, we address the O((C^2)·M) bottleneck of filtering subsumed topological sub-cycles by introducing ahighly cache-friendly Set-Trie optimization, drastically reducing time complexity. Empiricalevaluations in C++ demonstrate significant performance gains over naive subset filtering ondense graphs.
Author: Singh, Shakti
Language: English
Topic: Graph Theory and Algorithms
Subfield: Computational Theory and Mathematics
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7162632811
