Interface BaseFilter
- All Known Implementing Classes:
BaseFilter_q1,BaseFilter_q2,BaseFilter_qk
public interface BaseFilter
Interface for the step filtering some elements out off the (prime/power) base.
We must filter out at least the q-values that give the a-parameter when multiplied (and their powers),
because the special treatment for q-values has been removed from SiqsPolyGenerator.computeFirstXArrays()
for performance reasons.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBaseFilter.ResultFiltering results. -
Method Summary
Modifier and Type Method Description BaseFilter.Resultfilter(SolutionArrays solutionArrays, BaseArrays baseArrays, int mergedBaseSize, int[] qArray, int qCount, int k)Filter base arrays, fill solutionArrays with the result.java.lang.StringgetName()
-
Method Details
-
filter
BaseFilter.Result filter(SolutionArrays solutionArrays, BaseArrays baseArrays, int mergedBaseSize, int[] qArray, int qCount, int k)Filter base arrays, fill solutionArrays with the result.- Parameters:
solutionArrays-baseArrays-mergedBaseSize-qArray-qCount-k-- Returns:
- filtered result
-
getName
java.lang.String getName()- Returns:
- algorithm name
-