RUS  ENG
Full version
JOURNALS // Itogi Nauki i Tekhniki. Sovremennaya Matematika i ee Prilozheniya. Tematicheskie Obzory // Archive

Itogi Nauki i Tekhniki. Sovrem. Mat. Pril. Temat. Obz., 2022 Volume 204, Pages 37–43 (Mi into939)

Combinatorial algorithm for finding the number of paths on a directed graph

I. M. Erusalimskyi, M. I. Cherdyntseva

Southern Federal University, Rostov-on-Don

Abstract: In this paper, we present an algorithm for finding the number of paths on a directed graph that start at an arbitrary subset of its vertices. The algorithm is based on the ideas underlying the construction of Pascal's triangle. The complexity of the algorithm coincides with the complexity of the well-known Dijkstra algorithm for finding shortest paths on graphs. We also generalize the algorithm proposed to the problem on graphs with reachability constraints.

Keywords: directed graph, path, Pascal's triangle, reachability constraints.

UDC: 519.1

MSC: 05C38

DOI: 10.36535/0233-6723-2022-204-37-43



© Steklov Math. Inst. of RAS, 2024