Skip to content

Commit

Permalink
Add task-5
Browse files Browse the repository at this point in the history
  • Loading branch information
Parzival-05 committed Oct 14, 2024
1 parent 4038694 commit 9257954
Show file tree
Hide file tree
Showing 2 changed files with 779 additions and 2 deletions.
6 changes: 4 additions & 2 deletions project/task3.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,11 @@ def iter_and_add(automaton_attr: str):


def intersect_automata(
automaton1: AdjacencyMatrixFA, automaton2: AdjacencyMatrixFA
automaton1: AdjacencyMatrixFA,
automaton2: AdjacencyMatrixFA,
matrix_type: Type[spmatrix] = csr_matrix,
) -> AdjacencyMatrixFA:
return AdjacencyMatrixFA.intersect_automata(automaton1, automaton2)
return AdjacencyMatrixFA.intersect_automata(automaton1, automaton2, matrix_type)


def tensor_based_rpq(
Expand Down
775 changes: 775 additions & 0 deletions project/task5.ipynb

Large diffs are not rendered by default.

0 comments on commit 9257954

Please sign in to comment.