Package edu.jas.gb
Class GBProxy<C extends GcdRingElem<C>>
- java.lang.Object
-
- edu.jas.gb.GroebnerBaseAbstract<C>
-
- edu.jas.gb.GBProxy<C>
-
- All Implemented Interfaces:
GroebnerBase<C>
,java.io.Serializable
public class GBProxy<C extends GcdRingElem<C>> extends GroebnerBaseAbstract<C>
Groebner bases parallel proxy.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static boolean
debug
GroebnerBaseAbstract<C>
e1
GB engines.GroebnerBaseAbstract<C>
e2
private static org.apache.logging.log4j.Logger
logger
protected java.util.concurrent.ExecutorService
pool
Thread pool.-
Fields inherited from class edu.jas.gb.GroebnerBaseAbstract
blas, red, strategy
-
-
Constructor Summary
Constructors Constructor Description GBProxy(GroebnerBaseAbstract<C> e1, GroebnerBaseAbstract<C> e2)
Proxy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cancel()
Cancel ThreadPool.java.util.List<GenPolynomial<C>>
GB(int modv, java.util.List<GenPolynomial<C>> F)
Groebner base.void
terminate()
Cleanup and terminate ThreadPool.java.lang.String
toString()
Get the String representation with GB engines.-
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
-
logger
private static final org.apache.logging.log4j.Logger logger
-
debug
private static final boolean debug
-
e1
public final GroebnerBaseAbstract<C extends GcdRingElem<C>> e1
GB engines.
-
e2
public final GroebnerBaseAbstract<C extends GcdRingElem<C>> e2
-
pool
protected transient java.util.concurrent.ExecutorService pool
Thread pool.
-
-
Constructor Detail
-
GBProxy
public GBProxy(GroebnerBaseAbstract<C> e1, GroebnerBaseAbstract<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 classGroebnerBaseAbstract<C extends GcdRingElem<C>>
- See Also:
Object.toString()
-
terminate
public void terminate()
Cleanup and terminate ThreadPool.- Overrides:
terminate
in classGroebnerBaseAbstract<C extends GcdRingElem<C>>
-
cancel
public int cancel()
Cancel ThreadPool.- Overrides:
cancel
in classGroebnerBaseAbstract<C extends GcdRingElem<C>>
-
GB
public java.util.List<GenPolynomial<C>> GB(int modv, java.util.List<GenPolynomial<C>> F)
Groebner base.- Parameters:
modv
- module variable number.F
- polynomial list.- Returns:
- GB(F) a Groebner base of F.
-
-