Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)