Class Smooth_nLargeSquares
java.lang.Object
de.tilman_neumann.jml.factor.base.congruence.AQPair
de.tilman_neumann.jml.factor.base.congruence.Smooth_Simple
de.tilman_neumann.jml.factor.base.congruence.Smooth_nLargeSquares
- All Implemented Interfaces:
Smooth
public class Smooth_nLargeSquares extends Smooth_Simple
A smooth congruence having an arbitrary number of large factors.
-
Constructor Summary
Constructors Constructor Description Smooth_nLargeSquares(java.math.BigInteger A, SortedIntegerArray smallFactors, SortedLongArray bigFactors)
Full constructor. -
Method Summary
Modifier and Type Method Description SortedMultiset<java.lang.Long>
getAllQFactors()
int
getNumberOfLargeQFactors()
Methods inherited from class de.tilman_neumann.jml.factor.base.congruence.Smooth_Simple
addMyAQPairsViaXor, getAQPairs, getMatrixElements, isExactSquare
Methods inherited from class de.tilman_neumann.jml.factor.base.congruence.AQPair
equals, getA, getSmallQFactors, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Smooth_nLargeSquares
public Smooth_nLargeSquares(java.math.BigInteger A, SortedIntegerArray smallFactors, SortedLongArray bigFactors)Full constructor.- Parameters:
A
-smallFactors
- small factors of QbigFactors
- large factors of Q
-
-
Method Details
-
getAllQFactors
- Specified by:
getAllQFactors
in classAQPair
- Returns:
- all Q-factors with exponents. This method is only called in the final test of null vectors found by the smooth solver; but then it is needed for a whole bunch of AQPairs.
-
getNumberOfLargeQFactors
public int getNumberOfLargeQFactors()- Specified by:
getNumberOfLargeQFactors
in classAQPair
- Returns:
- the total number of large factors of Q in this AQPair.
-