x = (lDomain[i] * lMember[i]) + x;
}
try {
resultant = x / y;
} catch (ArithmeticException ae) {
notifyObservers(new FSEvent(this, "Error", ae));
}
try {
fset.setSolution(resultant);
if (DEBUG_[2]) trace[2].println(" Resolved value for set: "
+ fset.getQualifiedName()
+" is: " + fset.getSolution()
+", with degree of membership " + fset.getSolutionDOM());
} catch (Exception iae) {
notifyObservers(new FSEvent(this, "Error", iae));
}
} else {
if (DEBUG_[2]) trace[2].println(
" ***WARNING**** Centroid method not performed as fset membership not normalized.");
}