Fuzzy-Logic-rs
[!CAUTION] This repository is not complete yet. If you have any suggestions on how to make it better please send me an email. I will update it frequently. Please follow for more updates!
In this project I've tried to implement a simple and lightweight implementation of fuzzy logic only using std.
Membership Functions
I have implemented some useful membership functions. Also you can define a custom membership function if you like using ::new() . Here is a List of all implemented membership functions.
- Triangular
- Trapezoidal
- Linear-z
- Linear-s
- step-down
- step-up
- Gaussian
- Double-Gaussian
- Bell shape
Operations
Right now all 4 main operators are implemented.(i.e. + - * /)
- TODO: add compound operators
Inference Systems
- Mamdani Type 1
- Mamdani Type 2
- TSK Type 1
- TSK Type 2
Future Plans
- Import and Export systems to and from a file
- add meta-heuristics
- add ANFIS support
- add dedicated control module
- add fuzzy c-means