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 BaseArraysaddPowers(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.StringgetName()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein 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:PowerFinderFind powers and add them to the prime base.- Specified by:
addPowersin interfacePowerFindersieveParams- basic sieve parameters- Returns:
- BaseArrays containing powers
-
-