Package edu.jas.gb
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 boolean
final SolvableGroebnerBaseAbstract
<C> GB engines.final SolvableGroebnerBaseAbstract
<C> private static final org.apache.logging.log4j.Logger
protected ExecutorService
Thread pool. -
Constructor Summary
ConstructorsConstructorDescriptionProxy constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
cancel()
Cancel ThreadPool.leftGB
(int modv, List<GenSolvablePolynomial<C>> F) Groebner base.rightGB
(int modv, List<GenSolvablePolynomial<C>> F) Right Groebner base.void
Cleanup and terminate ThreadPool.toString()
Get the String representation with GB engines.twosidedGB
(int modv, List<GenSolvablePolynomial<C>> F) Groebner base.Methods inherited from class edu.jas.gb.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
Get the String representation with GB engines. -
terminate
public void terminate()Cleanup and terminate ThreadPool.- Overrides:
terminate
in classSolvableGroebnerBaseAbstract<C extends GcdRingElem<C>>
-
cancel
public int cancel()Cancel ThreadPool.- Overrides:
cancel
in 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:
rightGB
in interfaceSolvableGroebnerBase<C extends GcdRingElem<C>>
- Overrides:
rightGB
in 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.
-