Class PSIQSThread
- java.lang.Object
-
- java.lang.Thread
-
- de.tilman_neumann.jml.factor.psiqs.PSIQSThreadBase
-
- de.tilman_neumann.jml.factor.psiqs.PSIQSThread
-
- All Implemented Interfaces:
Runnable
public class PSIQSThread extends PSIQSThreadBase
A polynomial generation/sieve/trial division thread using Sieve03g.- Author:
- Tilman Neumann
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, 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(int k, BigInteger N, BigInteger kN, int d, SieveParams sieveParams, BaseArrays baseArrays, AParamGenerator apg, CongruenceCollectorParallel 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
-
-
-
-
Constructor Detail
-
PSIQSThread
public PSIQSThread(int k, BigInteger N, BigInteger kN, int d, SieveParams sieveParams, BaseArrays baseArrays, AParamGenerator apg, CongruenceCollectorParallel 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
-
-
-