x[i] = parseDouble(point); // Parse and add each point
y[i] = parseDouble(point.getNextSibling());
Gpr.debug(debug, "Parsed point " + i + " x=" + x[i] + ", y=" + y[i]);
} else throw new RuntimeException("Unknown (or unimplemented) option : " + leaveName);
}
return new MembershipFunctionGenericSingleton(x, y);
}