Skip to content

Fix regular path query test coverage #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

georgiy-belyanin
Copy link

In #261 an algorithm for evaluating regular path queries has been introduced. The algorithm uses NFAs for representing regular constraints and uses transpositions of their adjacency matrices. The implementation involved checks on whether the provided adjacency matrix is symmetric and its transpositions are cached though this behavior hasn't been tested and the coverage has been lower than 100%. This patch fixes it by varying whether to cache the matrix transpositions and compute the symmetry flags.

In GraphBLAS#261 an algorithm for evaluating regular path queries has been
introduced. The algorithm uses NFAs for representing regular
constraints and uses transpositions of their adjacency matrices. The
implementation involved checks on whether the provided adjacency matrix
is symmetric and its transpositions are cached though this behavior
hasn't been tested and the coverage has been lower than 100%. This patch
fixes it by varying whether to cache the matrix transpositions and
compute the symmetry flags.
@DrTimothyAldenDavis DrTimothyAldenDavis merged commit 75bfadc into GraphBLAS:v1.2 May 4, 2025
4 checks passed
@DrTimothyAldenDavis
Copy link
Member

The v1.2 branch is now at 100% test coverage -- thanks! I've also added a "ctest . -T memcheck" option, and it passes as well.

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