CFPQ_PyAlgo package #29
Replies: 3 comments 17 replies
-
Hi. Good idea. I think, first, we should fix user-friendly names of algorithms. Such names as 'TensorPathNew' or 'TensorSimpleAlgo' are terrible. I guess, the task 'Provide a clear and comprehensible name' is exactly about it. Second, we should fix the list of algorithms. For example, what is the reason to have Brut and Opt for multiple source CFPQ? I guess we should publish only the final versions of the algorithms. All intermediate results/implementations should be internal. It is not clear how to select a backend for the algorithm. I guess we can provide multiple backends (SuiteSparse/pygraphblas, pyspbla) for each algorithm. |
Beta Was this translation helpful? Give feedback.
-
I think we can discuss the package structure in this thread. I would suggest the following package structure.
But I still do not understand where to put all the auxiliary (dependent and not dependent on the backend) classes. What do you think? |
Beta Was this translation helpful? Give feedback.
-
Another interesting question: should we use "well-known" parameter types for functions, such as def matrix_all_pairs_reachability(graph: networkx.MultiDiGraph, grammar: pyformlang.CFG):
... or use types defined in package, such as def matrix_all_pairs_reachability(graph: BooleanMatrixGraph, grammar: CNF):
... ? |
Beta Was this translation helpful? Give feedback.
-
Hi @IlyaEp, @gsvgit, @KutuevVladimir and all interested!
I think it's time to put all the algorithms into a single package.
I wrote a little plan for what to do and suggest to do all tasks using pull requests to the
package
branch.I will be glad to discuss all the details here!
Beta Was this translation helpful? Give feedback.
All reactions