Let the user choose what function to use for the computation of Groebner bases. #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an attempt to address #20 and replaces #21.
At the moment,
GBNPGroebnerBasis
is used at many places in the source. The first commit in this pull request replaces all occurrences of this function with a variableGroebnerBasisFunction
so that QPA can work with whatever package computing Groebner bases. The user may now specify as a third optional argument forPathAlgebra
thisGroebnerBasisFunction
. By default nothing changes.The second and third commit of this pull request define a function
HighLevelGroebnerBasis
as an alternative toGBNPGroebnerBasis
. I wrote this as a temporary fix for #20.Maybe it is enough to consider only the first commit for merging in case you think that the last two commits
045eab7
and1afafbb
make the source code unnecessarily bloated and intransparent.