Class PSIQSBase

  • Direct Known Subclasses:
    PSIQS, PSIQS_SBH_U, PSIQS_U

    public abstract class PSIQSBase
    extends FactorAlgorithm
    Multi-threaded SIQS, the fastest factor algorithm in this project.
    Author:
    Tilman Neumann
    • Field Detail

      • numberOfThreads

        protected int numberOfThreads
      • Cmult

        protected float Cmult
      • Mmult

        protected float Mmult
      • maxQRestExponent

        protected float maxQRestExponent
      • matrixSolver

        protected MatrixSolver matrixSolver
        The solver used for smooth congruence equation systems.
    • Constructor Detail

      • PSIQSBase

        public PSIQSBase​(float Cmult,
                         float Mmult,
                         Float maxQRestExponent,
                         int numberOfThreads,
                         Integer d,
                         PowerFinder powerFinder,
                         MatrixSolver matrixSolver,
                         AParamGenerator apg)
        Standard constructor.
        Parameters:
        Cmult - multiplier for prime base size
        Mmult - multiplier for sieve array size
        maxQRestExponent - A Q with unfactored rest QRest is considered smooth if QRest <= N^maxQRestExponent. Good values are 0.16..0.19; null means that it is determined automatically.
        numberOfThreads -
        d - the d-parameter of quadratic polynomials Q(x) = (d*a*x + b)^2 - kN; may be null for automatic derivation
        powerFinder - algorithm to add powers to the primes used for sieving
        matrixSolver - solver for smooth congruences matrix
        apg - a-parameter generator