Package edu.jas.gb
Class GBSigBased<C extends edu.jas.structure.GcdRingElem<C>>
- java.lang.Object
-
- edu.jas.gb.GroebnerBaseAbstract<C>
-
- edu.jas.gb.GBSigBased<C>
-
- All Implemented Interfaces:
edu.jas.gb.GroebnerBase<C>
,java.io.Serializable
public class GBSigBased<C extends edu.jas.structure.GcdRingElem<C>> extends edu.jas.gb.GroebnerBaseAbstract<C>
Groebner bases via signatur based GBs using jython script. TODO: Computing via the ScriptEngine is way slower than the direct execution in the jython interpreter. Check if a different engine is in the path or if it must be configured in some special way.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GBSigBased.GBAlgo
GB algorithm indicators: sbgb = sigbased_gb(), arri = arris_algorithm(), ggv = ggv(), ggv1 = ggv_first_implementation(), f5 = f5(), ff5 = f5z().
-
Field Summary
Fields Modifier and Type Field Description GBSigBased.GBAlgo
algo
Selected GB algorithm.javax.script.ScriptEngine
engine
Scripting engine.
-
Constructor Summary
Constructors Constructor Description GBSigBased()
GBSigBased constructor.GBSigBased(GBSigBased.GBAlgo a)
GBSigBased constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cancel()
Cancel ThreadPool.java.util.List<edu.jas.poly.GenPolynomial<C>>
GB(int modv, java.util.List<edu.jas.poly.GenPolynomial<C>> F)
Groebner base.void
terminate()
Cleanup and terminate ThreadPool.java.lang.String
toString()
Get the String representation with GB engine.-
Methods inherited from class edu.jas.gb.GroebnerBaseAbstract
commonZeroTest, constructUnivariate, criterion3, extGB, extGB, GB, GB, GB, isGB, isGB, isGB, isGB, isGB, isGB, isGBidem, isGBsimple, isMinimalGB, isMinReductionMatrix, isMinReductionMatrix, isReductionMatrix, isReductionMatrix, minimalExtendedGB, minimalGB, normalizeMatrix, normalizeZerosOnes, univariateDegrees
-
-
-
-
Field Detail
-
engine
public final javax.script.ScriptEngine engine
Scripting engine.
-
algo
public final GBSigBased.GBAlgo algo
Selected GB algorithm.
-
-
Constructor Detail
-
GBSigBased
public GBSigBased()
GBSigBased constructor.
-
GBSigBased
public GBSigBased(GBSigBased.GBAlgo a)
GBSigBased constructor.- Parameters:
a
- GB algorithm indicator.
-
-