Class SGBProxy<C extends GcdRingElem<C>>
java.lang.Object
edu.jas.gb.SolvableGroebnerBaseAbstract<C>
edu.jas.gb.SGBProxy<C>
- All Implemented Interfaces:
SolvableGroebnerBase<C>, Serializable
Groebner bases parallel proxy.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanfinal SolvableGroebnerBaseAbstract<C> GB engines.final SolvableGroebnerBaseAbstract<C> private static final org.apache.logging.log4j.Loggerprotected ExecutorServiceThread pool. -
Constructor Summary
ConstructorsConstructorDescriptionProxy constructor. -
Method Summary
Modifier and TypeMethodDescriptionintcancel()Cancel ThreadPool.leftGB(int modv, List<GenSolvablePolynomial<C>> F) Groebner base.rightGB(int modv, List<GenSolvablePolynomial<C>> F) Right Groebner base.voidCleanup and terminate ThreadPool.toString()Get the String representation with GB engines.twosidedGB(int modv, List<GenSolvablePolynomial<C>> F) Groebner base.Methods inherited from class SolvableGroebnerBaseAbstract
commonZeroTest, constructUnivariate, constructUnivariate, extLeftGB, extLeftGB, extRightGB, extRightGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGB, isLeftGBidem, isLeftGBsimple, isLeftReductionMatrix, isLeftReductionMatrix, isRightGB, isRightGB, isRightGB, isRightGB, isRightGBidem, isRightGBidem, isTwosidedGB, isTwosidedGB, isTwosidedGB, isTwosidedGB, isTwosidedGBidem, isTwosidedGBidem, leftGB, leftGB, leftGB, leftMinimalGB, normalizeZerosOnes, rightGB, rightGB, rightMinimalGB, twosidedGB, twosidedGB, twosidedGB, univariateDegrees
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger logger -
debug
private static final boolean debug -
e1
GB engines. -
e2
-
pool
Thread pool.
-
-
Constructor Details
-
SGBProxy
Proxy constructor.- Parameters:
e1- Groebner base engine.e2- Groebner base engine.
-
-
Method Details
-
toString
-
terminate
public void terminate()Cleanup and terminate ThreadPool.- Overrides:
terminatein classSolvableGroebnerBaseAbstract<C extends GcdRingElem<C>>
-
cancel
public int cancel()Cancel ThreadPool.- Overrides:
cancelin classSolvableGroebnerBaseAbstract<C extends GcdRingElem<C>>
-
leftGB
Groebner base.- Parameters:
modv- module variable number.F- polynomial list.- Returns:
- GB(F) a Groebner base of F.
-
rightGB
Right Groebner base.- Specified by:
rightGBin interfaceSolvableGroebnerBase<C extends GcdRingElem<C>>- Overrides:
rightGBin classSolvableGroebnerBaseAbstract<C extends GcdRingElem<C>>- Parameters:
modv- module variable number.F- polynomial list.- Returns:
- rightGB(F) a Groebner base of F.
-
twosidedGB
Groebner base.- Parameters:
modv- module variable number.F- polynomial list.- Returns:
- twosidedGB(F) a Groebner base of F.
-