FIS.load(fileName)
function.
String fileName = "fcl/tipper.fcl"; FIS fis = FIS.load(fileName,true); |
FIS.load()
, a null
object is returned.
if( fis == null ) { // Error while loading? System.err.println("Can't load file: '" + fileName + "'"); return; } |
fis.chart(); |
And we get the following images:
fis.setVariable("service", 3); fis.setVariable("food", 7); |
fis.evaluate(); |
fis.getVariable("tip").getLatestDefuzzifiedValue(); |
fis.getVariable("tip").chartDefuzzifier(true); |
System.out.println(fis); |