* Key: {@code -projectedclustering.k} *
*/ public static final OptionID K_ID = new OptionID("projectedclustering.k", "The number of clusters to find."); /** * Parameter to specify the multiplier for the initial number of seeds, must * be an integer greater than 0. ** Default value: {@code 30} *
** Key: {@code -projectedclustering.k_i} *
*/ public static final OptionID K_I_ID = new OptionID("projectedclustering.k_i", "The multiplier for the initial number of seeds."); /** * Parameter to specify the dimensionality of the clusters to find, must be * an integer greater than 0. ** Key: {@code -projectedclustering.l} *
*/ public static final OptionID L_ID = new OptionID("projectedclustering.l", "The dimensionality of the clusters to find."); protected int k; protected int k_i; protected int l; /** * Get the parameter k, see {@link #K_ID} * * @param config Parameterization */ protected void configK(Parameterization config) { IntParameter kP = new IntParameter(K_ID); kP.addConstraint(CommonConstraints.GREATER_EQUAL_ONE_INT); if(config.grab(kP)) { k = kP.getValue(); } } /** * Get the parameter k_i, see {@link #K_I_ID} * * @param config Parameterization */ protected void configKI(Parameterization config) { IntParameter k_iP = new IntParameter(K_I_ID, 30); k_iP.addConstraint(CommonConstraints.GREATER_EQUAL_ONE_INT); if(config.grab(k_iP)) { k_i = k_iP.getValue(); } } /** * Get the parameter l, see {@link #L_ID} * * @param config Parameterization */ protected void configL(Parameterization config) { IntParameter lP = new IntParameter(L_ID); lP.addConstraint(CommonConstraints.GREATER_EQUAL_ONE_INT); if(config.grab(lP)) { l = lP.getValue(); } } } }