Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ci-fst/lfst
L-Fuzzy Set Theory implementation in Haskell
https://github.com/ci-fst/lfst
fuzzy-sets haskell
Last synced: 25 days ago
JSON representation
L-Fuzzy Set Theory implementation in Haskell
- Host: GitHub
- URL: https://github.com/ci-fst/lfst
- Owner: ci-fst
- License: gpl-3.0
- Created: 2016-03-05T12:17:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-12T12:29:03.000Z (over 8 years ago)
- Last Synced: 2024-04-25T04:44:17.511Z (7 months ago)
- Topics: fuzzy-sets, haskell
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/lfst
- Size: 26.4 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lfst - L-Fuzzy Set Theory implementation in Haskell
## Description
If *X* is a collection of objects denoted generically by *x*, then a fuzzy set *F(A)* in *X* is a set of ordered pairs. Each of them consists of an element *x* and a membership function which maps *x* to the membership space *M*. The current implementation is inspired by the work of J.A. Goguen **L-Fuzzy Sets** [[1](#lfuzzysets)].
## Setup
This library could be easily compiled using **cabal** issuing the command `cabal build` in the root directory.
## Usage
Using this library you can easily apply the **Extension Principle** [[2](#fuzzysets)] in the following way:
```
let fuzzy_set = fromList [(-1, Godel 0.5), (0, Godel 0.8), (1, Godel 1.0), (2, Godel 0.4)]fmap (^2) fuzzy_set
> FuzzySet {(0, Godel 0.8), (1, Godel 1.0), (4, Godel 0.4)}
```## Authors
All the following authors have equally contributed to this project (listed in alphabetical order by surname):
- Marco Di Pietro ([github](https://github.com/mdip))
- Claudio Greco ([github](https://github.com/claudiogreco))
- Corrado Mencar ([webpage](https://sites.google.com/site/cilabuniba/people/faculty/mencar))
- Alessandro Suglia ([github](https://github.com/aleSuglia))
## References
[1]: [Goguen, Joseph A. "L-fuzzy sets." Journal of mathematical analysis and applications (1967)](http://www.sciencedirect.com/science/article/pii/0022247X67901898)[2]: [Zadeh, Lotfi A. "Fuzzy sets." Information and control (1965)](http://www.sciencedirect.com/science/article/pii/S001999586590241X)