The fuzzy logic actor in Ptolemy II uses Edward Sarzonov's Java Fuzzy Engine. Sarzonov's Java Fuzzy Engine is open source but it is not under a BSD license.
The FuzzyEngine distribution may be found at http://people.clarkson.edu/~esazonov/FuzzyEngine.htm.
The distribution itself is a zip file or a gzipped tar file that contains the
classes. The classpath needs to be adjusted to point to the
proper directory. $PTII/configure expects the FuzzyEngine
distribution to be at $PTII/vendors/misc/FuzzyEngine, though
it is possible to pass configure the --with-fuzzyengine
command line argument and then configure will look in that directory.
The installation procedure is:
cd $PTII mkdir -p vendors/misc cd vendors/misc
wget http://people.clarkson.edu/~esazonov/files/FuzzyEngine.zip unzip FuzzyEngine.zipLinux and Mac OS X:
wget http://people.clarkson.edu/~esazonov/files/FuzzyEngine.tgz tar -zxf FuzzyEngine.tgz
cd $PTII ./configureYou should see
checking for FuzzyEngine directory... okand
$PTII/mk/ptII.mk should be updated to point to the FuzzyEngine directory.
For more information, please see the Trade Space Specification to Ptolemy II Documentation.
@since Ptolemy II 8.1