**Juzzy - A Java
based toolkit for type-1, interval type-2 and general type-2 fuzzy logic and
fuzzy logic systems.**

**By Christian
Wagner**

**Implementation of Type-2 FLSs using
Java.**

Note: On this website you are given access to Juzzy (and its source code) - a java based toolkit for the development of fuzzy logic systems. You are free to use the code/toolkit for your own work as long as you cite its use with the following reference:

C. Wagner, "Juzzy – A Java based Toolkit for Type-2 Fuzzy Logic", Proceedings of the IEEE Symposium Series on Computational Intelligence, Singapore, April 2013.

Also, be aware that Juzzy is still being tested and may still contain bugs, i.e. verify your results!

Note that there are two options, you can either download a precompiled version of Juzzy which you can test from the command line or you can download the complete project inclusive of the source code.

What you need:

- Java JDK:

Please make sure you have a recent Java JDK installed on your system (not just the JRE).

The current JDK is available here: http://www.oracle.com/technetwork/java/javase/downloads/index.html. - Netbeans IDE (optional –
alternatively use an IDE of your choice such as Eclipse, etc.):

Download it here: http://netbeans.org/. - Java Fuzzy Logic Toolkit (jar files
– include jMathPlot jar):

Download it here. - Source Code as Netbeans Project and Visualisation library:

Download the project and source code here.

Download the javadoc here.

Download jmathplot.jar here: http://code.google.com/p/jmathplot/downloads/list

Note: after unzipping and opening the project in Netbeans you will have to add the jmathplot.jar library to your project path (click resolve references or Project properties )

To get started without looking at source code / without Netbeans:

- Unzip the toolkit, creating a Juzzy directory.
- Test your setup:

Open a command prompt (in Windows, run CMD) and navigate to your Juzzy directory.

Run one or more of the examples using the commands below. All examples are based on the standard "How much to tip a waiter?" problem and are based on two inputs (food quality & service level) and a single output: the amount of tip in percent. All examples will produce the output for sample calculations, the rulebase employed as well as visualisations of the control surface and all fuzzy sets. Some example contain multiple styles of visualisation for the fuzzy sets. - If the examples are running fine you should be good to go!

- java -jar Juzzy.jar Shows an overview of the example functionality.
- java -jar Juzzy.jar type1 Executes a type-1 fuzzy system example.
- java -jar Juzzy.jar type1-2outputs Executes a type-1 fuzzy system example with 2 outputs.
- java -jar Juzzy.jar intervalIT2 Executes an interval type-2 fuzzy system example.
- java -jar Juzzy.jar intervalIT2-2outputs Executes an interval type-2 fuzzy system example with 2 outputs.
- java -jar Juzzy.jar zSlicesGT2 Executes a general type-2 fuzzy system example.
- java -jar Juzzy.jar zSlicesGT2MC Executes a multi-threaded / multi-core general type-2 fuzzy system example.
- java -jar Juzzy.jar zSlicesGT2MC-2outputs Executes a multi-threaded / multi-core general type-2 fuzzy system example with 2 outputs.