fuzzySets-1.0.0: Library for constructing and manipulating fuzzy sets and fuzzy relations.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Fuzzy.Relations.RelationComposition

Description

This module contains various compositions of binary LRelations. we provide natural language description of meaning of each type of composition on simple example with two relations R (x , y) - patient x has symptom y and S (y, z) - y is a symptom of z.

Synopsis

Documentation

circlet :: (Eq a, ResiduatedLattice l) => LRelation a l -> LRelation a l -> LRelation a l Source #

R circlet S (x, z) - Truth degree to which there is symptom y, such that patient x has symptom y and y is a symptom of disease z

subproduct :: (Eq a, ResiduatedLattice l) => LRelation a l -> LRelation a l -> LRelation a l Source #

R subproduct S (x, z) - truth degree to which it is true that if patient x has symptom y than y is symptom of z

superproduct :: (Eq a, ResiduatedLattice l) => LRelation a l -> LRelation a l -> LRelation a l Source #

R superproduct S (x, z) - truth degree to which it is true that patient x has all symptoms of z

square :: (Eq a, ResiduatedLattice l) => LRelation a l -> LRelation a l -> LRelation a l Source #

R square S (x, z) - truth degree to which it is true that patient x has exactly the symptoms of z