| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Lattices.UnitIntervalStructures.Lukasiewicz
Synopsis
- newtype UILukasiewicz = UILukasiewicz UnitInterval
- class RealFrac l => BoundedLattice l where
- mkLukasiewiczUnitInterval :: Double -> UILukasiewicz
- fromLukasiewiczUnitInterval :: UILukasiewicz -> Double
Documentation
newtype UILukasiewicz Source #
Constructors
| UILukasiewicz UnitInterval |
Instances
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
meet
join
also called upper bound
also called lower bound
mkLattice :: Double -> l Source #
constructor for lattice
Instances
| BoundedLattice UnitInterval Source # | |
Defined in Lattices.UnitInterval Methods (/\) :: UnitInterval -> UnitInterval -> UnitInterval Source # (\/) :: UnitInterval -> UnitInterval -> UnitInterval Source # top :: UnitInterval Source # bot :: UnitInterval Source # mkLattice :: Double -> UnitInterval Source # | |
| BoundedLattice UIGodel Source # | |
| BoundedLattice UILukasiewicz Source # | |
Defined in Lattices.UnitIntervalStructures.Lukasiewicz Methods (/\) :: UILukasiewicz -> UILukasiewicz -> UILukasiewicz Source # (\/) :: UILukasiewicz -> UILukasiewicz -> UILukasiewicz Source # top :: UILukasiewicz Source # bot :: UILukasiewicz Source # mkLattice :: Double -> UILukasiewicz Source # | |
| BoundedLattice UIProduct Source # | |
mkLukasiewiczUnitInterval :: Double -> UILukasiewicz Source #
fromLukasiewiczUnitInterval :: UILukasiewicz -> Double Source #