Class NoPowerFinder
java.lang.Object
de.tilman_neumann.jml.factor.siqs.powers.NoPowerFinder
- All Implemented Interfaces:
PowerFinder
public class NoPowerFinder extends java.lang.Object implements PowerFinder
Dummy implementation of PowerFinder that ignores powers.
-
Constructor Summary
Constructors Constructor Description NoPowerFinder() -
Method Summary
Modifier and Type Method Description BaseArraysaddPowers(java.math.BigInteger kN, int[] primes, int[] tArray, byte[] logPArray, long[] pinvArrayL, int primeBaseSize, SieveParams sieveParams)Find powers and add them to the prime base.java.lang.StringgetName()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NoPowerFinder
public NoPowerFinder()
-
-
Method Details
-
getName
public java.lang.String getName()- Specified by:
getNamein interfacePowerFinder- Returns:
- algorithm name
-
addPowers
public BaseArrays addPowers(java.math.BigInteger kN, int[] primes, int[] tArray, byte[] logPArray, long[] pinvArrayL, int primeBaseSize, SieveParams sieveParams)Find powers and add them to the prime base.- Specified by:
addPowersin interfacePowerFinder- Parameters:
kN-primes-tArray-logPArray-pinvArrayL- 2^32/p_i, required by Barrett reductionprimeBaseSize-sieveParams- basic sieve parameters- Returns:
- BaseArrays containing powers
-