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

Lattices.UnitIntervalStructures.Godel

Synopsis

Documentation

newtype UIGodel Source #

Constructors

UIGodel UnitInterval 

Instances

Instances details
Num UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Fractional UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

(/) :: UIGodel -> UIGodel -> UIGodel

recip :: UIGodel -> UIGodel

fromRational :: Rational -> UIGodel

Real UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

toRational :: UIGodel -> Rational

RealFrac UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

properFraction :: Integral b => UIGodel -> (b, UIGodel)

truncate :: Integral b => UIGodel -> b

round :: Integral b => UIGodel -> b

ceiling :: Integral b => UIGodel -> b

floor :: Integral b => UIGodel -> b

Show UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

showsPrec :: Int -> UIGodel -> ShowS

show :: UIGodel -> String

showList :: [UIGodel] -> ShowS

BoundedLattice UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

ResiduatedLattice UIGodel Source #

Gödel structure of truth values

Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Eq UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

(==) :: UIGodel -> UIGodel -> Bool

(/=) :: UIGodel -> UIGodel -> Bool

Ord UIGodel Source # 
Instance details

Defined in Lattices.UnitIntervalStructures.Godel

Methods

compare :: UIGodel -> UIGodel -> Ordering

(<) :: UIGodel -> UIGodel -> Bool

(<=) :: UIGodel -> UIGodel -> Bool

(>) :: UIGodel -> UIGodel -> Bool

(>=) :: UIGodel -> UIGodel -> Bool

max :: UIGodel -> UIGodel -> UIGodel

min :: UIGodel -> UIGodel -> UIGodel

class RealFrac l => BoundedLattice l where Source #

Lattice is an algebraic structure with join and meet operations. BoundedLattice has Top and Bottom elements Lattice satisfies following laws:

Associativity

x \/ (y \/ z) ≡ (x \/ y) \/ z
x /\ (y /\ z) ≡ (x /\ y) /\ z

Commutativity

x \/ y ≡ y \/ x
x /\ y ≡ y /\ x

Idempotency

x \/ x ≡ x
x /\ x ≡ x

Absorption

a \/ (a /\ b) ≡ a
a /\ (a \/ b) ≡ a

Methods

(/\) :: l -> l -> l Source #

meet

(\/) :: l -> l -> l Source #

join

top :: l Source #

also called upper bound

bot :: l Source #

also called lower bound

mkLattice :: Double -> l Source #

constructor for lattice