trait DistributiveLattice[A] extends Lattice[A]
A distributive lattice a lattice where join and meet distribute:
- a ∨ (b ∧ c) = (a ∨ b) ∧ (a ∨ c)
- a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c)
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DistributiveLattice
- Lattice
- MeetSemilattice
- JoinSemilattice
- Serializable
- Serializable
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
getClass(): Class[_]
- Definition Classes
- Any
-
abstract
def
join(lhs: A, rhs: A): A
- Definition Classes
- JoinSemilattice
-
abstract
def
meet(lhs: A, rhs: A): A
- Definition Classes
- MeetSemilattice
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
dual: Lattice[A]
This is the lattice with meet and join swapped
This is the lattice with meet and join swapped
- Definition Classes
- Lattice
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
hashCode(): Int
- Definition Classes
- Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
joinPartialOrder(implicit ev: Eq[A]): PartialOrder[A]
- Definition Classes
- JoinSemilattice
-
def
joinSemilattice: Semilattice[A]
- Definition Classes
- JoinSemilattice
-
def
meetPartialOrder(implicit ev: Eq[A]): PartialOrder[A]
- Definition Classes
- MeetSemilattice
-
def
meetSemilattice: Semilattice[A]
- Definition Classes
- MeetSemilattice
-
def
toString(): String
- Definition Classes
- Any