protected PrimitiveSimilarityFunction<V, DoubleDistance> primitiveKernelFunction = null;
@Override
protected void makeOptions(Parameterization config) {
super.makeOptions(config);
final IntParameter kP = new IntParameter(K_ID, new GreaterEqualConstraint(1), 30);
if(config.grab(kP)) {
k = kP.getValue();
}
final IntParameter sampleSizeP = new IntParameter(FAST_SAMPLE_ID, new GreaterEqualConstraint(1), true);
if(config.grab(sampleSizeP)) {
sampleSize = sampleSizeP.getValue();
}
final ObjectParameter<PrimitiveSimilarityFunction<V, DoubleDistance>> param = new ObjectParameter<PrimitiveSimilarityFunction<V, DoubleDistance>>(KERNEL_FUNCTION_ID, PrimitiveSimilarityFunction.class, PolynomialKernelFunction.class);
if(config.grab(param)) {