Generator\frequency as generalization of Generator\oneOf