GenBool

algebra.lattice.GenBool
See theGenBool companion object

Generalized Boolean algebra, that is, a Boolean algebra without the top element. Generalized Boolean algebras do not (in general) have (absolute) complements, but they have relative complements (see GenBool.without).

Attributes

Companion
object
Source
GenBool.scala
Graph
Supertypes
trait Lattice[A]
trait MeetSemilattice[A]
trait JoinSemilattice[A]
trait Serializable
class Any
Show all
Known subtypes
class SetLattice[A]
trait Bool[A]
class BoolFromBoolRing[A]
class DualBool[A]
Show all
Self type
GenBool[A]

Members list

Value members

Abstract methods

def and(a: A, b: A): A

Attributes

Source
GenBool.scala
def or(a: A, b: A): A

Attributes

Source
GenBool.scala
def without(a: A, b: A): A

The operation of relative complement, symbolically often denoted a\b (the symbol for set-theoretic difference, which is the meaning of relative complement in the lattice of sets).

The operation of relative complement, symbolically often denoted a\b (the symbol for set-theoretic difference, which is the meaning of relative complement in the lattice of sets).

Attributes

Source
GenBool.scala

Concrete methods

override def join(a: A, b: A): A

Attributes

Definition Classes
Source
GenBool.scala
override def meet(a: A, b: A): A

Attributes

Definition Classes
Source
GenBool.scala
def xor(a: A, b: A): A

Logical exclusive or, set-theoretic symmetric difference.

Logical exclusive or, set-theoretic symmetric difference. Defined as a\b ∨ b\a.

Attributes

Source
GenBool.scala

Deprecated methods

Every generalized Boolean algebra is also a BoolRng, with multiplication defined as and and addition defined as xor.

Every generalized Boolean algebra is also a BoolRng, with multiplication defined as and and addition defined as xor.

Attributes

Deprecated
[Since version 2.7.0]
Source
GenBool.scala

Inherited methods

def dual: Lattice[A]

This is the lattice with meet and join swapped

This is the lattice with meet and join swapped

Attributes

Inherited from:
Lattice
Source
Lattice.scala
def isZero(a: A)(implicit ev: Eq[A]): Boolean

Attributes

Inherited from:
BoundedJoinSemilattice
Source
BoundedJoinSemilattice.scala
def joinPartialOrder(implicit ev: Eq[A]): PartialOrder[A]

Attributes

Inherited from:
JoinSemilattice
Source
JoinSemilattice.scala

Attributes

Definition Classes
Inherited from:
BoundedJoinSemilattice
Source
BoundedJoinSemilattice.scala
def meetPartialOrder(implicit ev: Eq[A]): PartialOrder[A]

Attributes

Inherited from:
MeetSemilattice
Source
MeetSemilattice.scala

Attributes

Inherited from:
MeetSemilattice
Source
MeetSemilattice.scala
def zero: A

Attributes

Inherited from:
BoundedJoinSemilattice
Source
BoundedJoinSemilattice.scala