DistributiveLattice

trait DistributiveLattice[@specialized(Int, Long, Float, Double) A] extends Lattice[A]

A distributive lattice a lattice where join and meet distribute:

A distributive lattice a lattice where join and meet distribute:

  • a ∨ (b ∧ c) = (a ∨ b) ∧ (a ∨ c)
  • a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c)
Companion
object
trait Lattice[A]
trait Serializable
class Any

Value members

Inherited methods

def dual: Lattice[A]

This is the lattice with meet and join swapped

This is the lattice with meet and join swapped

Inherited from
Lattice
def join(lhs: A, rhs: A): A
Inherited from
JoinSemilattice
def joinPartialOrder(ev: Eq[A]): PartialOrder[A]
Inherited from
JoinSemilattice
def joinSemilattice: Semilattice[A]
Inherited from
JoinSemilattice
def meet(lhs: A, rhs: A): A
Inherited from
MeetSemilattice
def meetPartialOrder(ev: Eq[A]): PartialOrder[A]
Inherited from
MeetSemilattice
def meetSemilattice: Semilattice[A]
Inherited from
MeetSemilattice