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>
,java.io.Serializable
public class SGBProxy<C extends GcdRingElem<C>> extends SolvableGroebnerBaseAbstract<C>
Groebner bases parallel proxy.- Author:
- Heinz Kredel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description SolvableGroebnerBaseAbstract<C>
e1
GB engines.SolvableGroebnerBaseAbstract<C>
e2
protected java.util.concurrent.ExecutorService
pool
Thread pool.
-
Constructor Summary
Constructors Constructor Description SGBProxy(SolvableGroebnerBaseAbstract<C> e1, SolvableGroebnerBaseAbstract<C> e2)
Proxy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cancel()
Cancel ThreadPool.java.util.List<GenSolvablePolynomial<C>>
leftGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
Groebner base.java.util.List<GenSolvablePolynomial<C>>
rightGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
Right Groebner base.void
terminate()
Cleanup and terminate ThreadPool.java.lang.String
toString()
Get the String representation with GB engines.java.util.List<GenSolvablePolynomial<C>>
twosidedGB(int modv, java.util.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 Detail
-
e1
public final SolvableGroebnerBaseAbstract<C extends GcdRingElem<C>> e1
GB engines.
-
e2
public final SolvableGroebnerBaseAbstract<C extends GcdRingElem<C>> e2
-
pool
protected transient java.util.concurrent.ExecutorService pool
Thread pool.
-
-
Constructor Detail
-
SGBProxy
public SGBProxy(SolvableGroebnerBaseAbstract<C> e1, SolvableGroebnerBaseAbstract<C> e2)
Proxy constructor.- Parameters:
e1
- Groebner base engine.e2
- Groebner base engine.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get the String representation with GB engines.- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
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
public java.util.List<GenSolvablePolynomial<C>> leftGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
Groebner base.- Parameters:
modv
- module variable number.F
- polynomial list.- Returns:
- GB(F) a Groebner base of F.
-
rightGB
public java.util.List<GenSolvablePolynomial<C>> rightGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
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
public java.util.List<GenSolvablePolynomial<C>> twosidedGB(int modv, java.util.List<GenSolvablePolynomial<C>> F)
Groebner base.- Parameters:
modv
- module variable number.F
- polynomial list.- Returns:
- twosidedGB(F) a Groebner base of F.
-
-