def _get_vars(fis):
    'Get an encoded version of the parameters of the fuzzy sets in a FIS'
    for variable in fis.variables:
        for (value_name, value) in variable.values.items():
            for (par, default) in value._get_description().items():
                if (par != 'type'):
                    (yield (((((('var_' + variable.name) + '_') + value_name) + '_') + par), default))
    for variable in [fis.target]:
        for (value_name, value) in variable.values.items():
            for (par, default) in value._get_description().items():
                if (par != 'type'):
                    (yield (((((('target_' + variable.name) + '_') + value_name) + '_') + par), default))
Get an encoded version of the parameters of the fuzzy sets in a FIS
def _get_vars(fis):
    
    for variable in fis.variables:
        for (value_name, value) in variable.values.items():
            for (par, default) in value._get_description().items():
                if (par != 'type'):
                    (yield (((((('var_' + variable.name) + '_') + value_name) + '_') + par), default))
    for variable in [fis.target]:
        for (value_name, value) in variable.values.items():
            for (par, default) in value._get_description().items():
                if (par != 'type'):
                    (yield (((((('target_' + variable.name) + '_') + value_name) + '_') + par), default))