Work

Shakti's Algorithm: Efficient Enumeration of Bounded Circuits Using Set-Trie Filtering

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.
Language: English
Open Access status: green
OpenAlex ID: W7162632811
Cites:
Cited by:
Related to: 10