int i = -1;
for (FuzzyIndexModel fm : array) {
i++;
values[i] = fm.getValue();
ISFunction isfunction = getFunction(fm.getFunction());
isfunction.setLower_bound(fm.getFunctionLBound());
isfunction.setUpper_bound(fm.getFunctionUBound());
sfs[i] = isfunction;
weights[i] = fm.getWeight();
}