A Generalized Functional Network for a Classifier-Quantifiers Scheme in a Gas-Sensing System