-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregular_path_query.hpp
More file actions
22 lines (17 loc) · 1.11 KB
/
regular_path_query.hpp
File metadata and controls
22 lines (17 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <vector>
#include <cubool/cubool.h>
cuBool_Matrix regular_path_query_with_transposed(
// vector of sparse graph matrices for each label
const std::vector<cuBool_Matrix>& graph, const std::vector<cuBool_Index>& source_vertices,
// vector of sparse automaton matrices for each label
const std::vector<cuBool_Matrix>& automaton, const std::vector<cuBool_Index>& start_states,
// transposed matrices for graph and automaton
const std::vector<cuBool_Matrix>& graph_transposed,
const std::vector<cuBool_Matrix>& automaton_transposed,
const std::vector<bool>& inversed_labels = {}, bool all_labels_are_inversed = false);
cuBool_Matrix regular_path_query(
// vector of sparse graph matrices for each label
const std::vector<cuBool_Matrix>& graph, const std::vector<cuBool_Index>& source_vertices,
// vector of sparse automaton matrices for each label
const std::vector<cuBool_Matrix>& automaton, const std::vector<cuBool_Index>& start_states,
const std::vector<bool>& inversed_labels = {}, bool all_labels_are_inversed = false);