Skip to content

Implement CFL all-paths path-finding#9

Open
DanyaLitva wants to merge 49 commits intoSparseLinearAlgebra:stablefrom
DanyaLitva:stable
Open

Implement CFL all-paths path-finding#9
DanyaLitva wants to merge 49 commits intoSparseLinearAlgebra:stablefrom
DanyaLitva:stable

Conversation

@DanyaLitva
Copy link
Copy Markdown

@DanyaLitva DanyaLitva commented Mar 4, 2026

This PR adds an implementation algorithm for finding all paths based on the implementation of Rustam Azimov's algorithm for finding a single path and all paths in a graph with context-free constraints using matrix multiplication. Based on CFPQ-Core from #8

benchmark 23.03.2026: benchmark_upd.pdf

25.03.2026: benchmark.pdf - добавлено сравнение с диссертацией Рустама Азимова

12.04.2026: document.pdf обновлённая с union и insert версия, но с итератором в get_nvals, в скобках - старое время, вне скобок - новое

15.04.2026: document.pdf - актуальные значения с reduce версией get_nvals

@DanyaLitva
Copy link
Copy Markdown
Author

DanyaLitva commented Mar 4, 2026

Проверил алгоритм на примере из статьи Рустама Азимова

Из статьи:
image

Из программы:
*матрице S соответствует output 0
image

Comment thread experimental/test/test_CFL_AllPaths.c
Comment thread experimental/algorithm/LAGraph_CFL_AllPaths.c Outdated
Comment thread experimental/algorithm/LAGraph_CFL_AllPaths.c Outdated
Comment thread experimental/algorithm/LAGraph_CFL_AllPaths.c Outdated
Comment thread experimental/algorithm/LAGraph_CFL_AllPaths.c Outdated
DanyaLitva and others added 4 commits March 18, 2026 20:08
после первых тестов кажется, что итератор эффективнее редукции для этой задачи
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants