Class PSIQSThread_U_nLP
java.lang.Object
java.lang.Thread
de.tilman_neumann.jml.factor.psiqs.PSIQSThreadBase
de.tilman_neumann.jml.factor.psiqs.PSIQSThread_U_nLP
- All Implemented Interfaces:
java.lang.Runnable
public class PSIQSThread_U_nLP extends PSIQSThreadBase
A polynomial generation/sieve/trial division thread using the fastest sieve depending on sun.misc.Unsafe.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class de.tilman_neumann.jml.factor.psiqs.PSIQSThreadBase
auxFactorizer, polyGenerator, sieve
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors Constructor Description PSIQSThread_U_nLP(int k, java.math.BigInteger N, java.math.BigInteger kN, int d, SieveParams sieveParams, BaseArrays baseArrays, AParamGenerator apg, CongruenceCollector cc, int threadIndex)
Standard constructor. -
Method Summary
Methods inherited from class de.tilman_neumann.jml.factor.psiqs.PSIQSThreadBase
cleanUp, getPolyReport, getSieveReport, getTDivReport, run, setFinishNow
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PSIQSThread_U_nLP
public PSIQSThread_U_nLP(int k, java.math.BigInteger N, java.math.BigInteger kN, int d, SieveParams sieveParams, BaseArrays baseArrays, AParamGenerator apg, CongruenceCollector cc, int threadIndex)Standard constructor.- Parameters:
k
-N
-kN
-d
- the d-parameter of quadratic polynomials Q(x) = (d*a*x + b)^2 - kN; typically 1 or 2sieveParams
- basic sieve parametersbaseArrays
- primes, power arrays after adding powersapg
-cc
- congruence collector, also runs the matrix solverthreadIndex
-
-