Class NoPowerFinder
- java.lang.Object
-
- de.tilman_neumann.jml.factor.siqs.powers.NoPowerFinder
-
- All Implemented Interfaces:
PowerFinder
public class NoPowerFinder extends Object implements PowerFinder
Dummy implementation of PowerFinder that ignores powers.- Author:
- Tilman Neumann
-
-
Constructor Summary
Constructors Constructor Description NoPowerFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseArrays
addPowers(BigInteger kN, int[] primes, int[] tArray, byte[] logPArray, double[] pinvArrayD, long[] pinvArrayL, int primeBaseSize, SieveParams sieveParams)
Find powers and add them to the prime base.String
getName()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfacePowerFinder
- Returns:
- algorithm name
-
addPowers
public BaseArrays addPowers(BigInteger kN, int[] primes, int[] tArray, byte[] logPArray, double[] pinvArrayD, long[] pinvArrayL, int primeBaseSize, SieveParams sieveParams)
Description copied from interface:PowerFinder
Find powers and add them to the prime base.- Specified by:
addPowers
in interfacePowerFinder
sieveParams
- basic sieve parameters- Returns:
- BaseArrays containing powers
-
-