fuzzy-logic_rs 0.3.0

An implementation of fuzzy logic in rust!
Documentation
# 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]mailto:s.mohammad.amin.sadat@gmail.com.
> I will update it frequently.
> Please follow for more updates!

## Documentation

You can view a complete documentation at [here.](https://mechaneurons.github.io/Fuzzy-Logic-rs/)

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.

1. Triangular
2. Trapezoidal
3. Linear-z
4. Linear-s
5. step-down
6. step-up
7. Gaussian
8. Double-Gaussian
9. Bell shape

## Inference Systems


* [x] Mamdani Type 1
* [ ] Mamdani Type 2
* [ ] TSK Type 1
* [ ] TSK Type 2

## Future Plans


* [ ] Import and Export systems to and from a file
* [ ] Add plot support
* [ ] add meta-heuristics
* [ ] add ANFIS support
* [ ] add dedicated control module
* [ ] add fuzzy c-means