Class PSIQSThread

  • All Implemented Interfaces:
    Runnable

    public class PSIQSThread
    extends PSIQSThreadBase
    A polynomial generation/sieve/trial division thread using Sieve03g.
    Author:
    Tilman Neumann
    • 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 2
        sieveParams - basic sieve parameters
        baseArrays - primes, power arrays after adding powers
        apg -
        cc - congruence collector, also runs the matrix solver
        threadIndex -