// global parameter constraints
ArrayList<Parameter<?, ?>> globalConstraints = new ArrayList<Parameter<?, ?>>();
globalConstraints.add(minfreqP);
globalConstraints.add(minsuppP);
config.checkConstraint(new OnlyOneIsAllowedToBeSetGlobalConstraint(globalConstraints));
config.checkConstraint(new OneMustBeSetGlobalConstraint(globalConstraints));
}