Class PSIQSThread_U_3LP

java.lang.Object
java.lang.Thread
de.tilman_neumann.jml.factor.psiqs.PSIQSThreadBase
de.tilman_neumann.jml.factor.psiqs.PSIQSThread_U_3LP
All Implemented Interfaces:
java.lang.Runnable

public class PSIQSThread_U_3LP
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_3LP​(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_3LP

      public PSIQSThread_U_3LP​(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 2
      sieveParams - basic sieve parameters
      baseArrays - primes, power arrays after adding powers
      apg -
      cc - congruence collector, also runs the matrix solver
      threadIndex -