Tékhne - Revista de Estudos Politécnicos2009
APAC: An exact algorithm for retrieving cycles and paths in all kinds of graphs
em inglês
resumo
This paper presents an alorithm for retrieving all paths and all cycles between two vertices in random directed or undirected connected graphs. This algorithm can be easily implemented and is highly modular; with minor changes it can be adapted to obtain different parameters from the graphs. It is also demonstrated that the complexity of the algorithm increases linearly with the number of paths. The algorithm can be used in a myriad of applications. Aside from calculating all the paths and cycles in a graph, it can be used to calculate all the paths with length l between two vertices in the graph, as well as a solution to the clique decision problem. Thus, it has applications in computer networks, material science and electric networks, as well as in any problem where it is necessary to know the number of paths (not the optimal paths) in a directed or undirected connected graph or in multigraphs. The algorithms currently available in the literature, such as the depth-first search (DFS), are unable to solve this type of problems in a straightforward way.
como citar · ABNT NBR 6023
SIMÕES, Ricardo. APAC: An exact algorithm for retrieving cycles and paths in all kinds of graphs. Tékhne - Revista de Estudos Politécnicos, 2009. Disponível em: https://www.scielo.pt/scielo.php?script=sci_arttext&pid=S1645-99112009000200004. Acesso em: 28 nov. 2026.
Referências
1 obra citada
Quem cita esta obra
nenhum artigo do acervo cita esta obra — ainda