Package edu.jas.gb
Class MiReducerServer<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.gb.MiReducerServer<C>
-
- All Implemented Interfaces:
java.lang.Runnable
class MiReducerServer<C extends RingElem<C>> extends java.lang.Object implements java.lang.Runnable
Distributed server reducing worker threads for minimal GB Not jet distributed but threaded.
-
-
Constructor Summary
Constructors Constructor Description MiReducerServer(java.util.List<GenPolynomial<C>> G, GenPolynomial<C> p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenPolynomial<C>
getNF()
getNF.void
run()
-
-
-
Field Detail
-
G
private final java.util.List<GenPolynomial<C extends RingElem<C>>> G
-
H
private GenPolynomial<C extends RingElem<C>> H
-
done
private final java.util.concurrent.Semaphore done
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Detail
-
MiReducerServer
MiReducerServer(java.util.List<GenPolynomial<C>> G, GenPolynomial<C> p)
-
-
Method Detail
-
getNF
public GenPolynomial<C> getNF()
getNF. Blocks until the normal form is computed.- Returns:
- the computed normal form.
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-