Uses of Class
org.flag4j.algebraic_structures.BoolSemiring
Packages that use BoolSemiring
Package
Description
Provides algebraic structures such as semirings, rings, and fields,
along with their concrete implementations.
-
Uses of BoolSemiring in org.flag4j.algebraic_structures
Classes in org.flag4j.algebraic_structures that implement interfaces with type arguments of type BoolSemiringModifier and TypeClassDescriptionclass
Represents an immutable boolean value within a semiring structure.Fields in org.flag4j.algebraic_structures declared as BoolSemiringModifier and TypeFieldDescriptionstatic final BoolSemiring
BoolSemiring.FALSE
The boolean value false.static final BoolSemiring
BoolSemiring.ONE
The boolean value true.static final BoolSemiring
BoolSemiring.TRUE
The boolean value true.static final BoolSemiring
BoolSemiring.ZERO
The boolean value false.Methods in org.flag4j.algebraic_structures that return BoolSemiringModifier and TypeMethodDescriptionBoolSemiring.add
(BoolSemiring b) Performs the addition operation of this semiring, defined as logical OR.BoolSemiring.and
(BoolSemiring b) Computes the logical AND of thisBoolSemiring
with another.BoolSemiring.getOne()
Gets the multiplicative identity for this semiring.BoolSemiring.getZero()
Gets the additive identity for this semiring.BoolSemiring.mult
(BoolSemiring b) Performs the multiplication operation of this semiring, defined as logical AND.BoolSemiring.not()
Computes the logical NOT (negation) of thisBoolSemiring
.BoolSemiring.or
(BoolSemiring b) Computes the logical OR of thisBoolSemiring
with another.BoolSemiring.xor
(BoolSemiring b) Computes the exclusive OR (XOR) of thisBoolSemiring
with another.Methods in org.flag4j.algebraic_structures with parameters of type BoolSemiringModifier and TypeMethodDescriptionBoolSemiring.add
(BoolSemiring b) Performs the addition operation of this semiring, defined as logical OR.BoolSemiring.and
(BoolSemiring b) Computes the logical AND of thisBoolSemiring
with another.int
BoolSemiring.compareTo
(BoolSemiring b) Compares this element of the semiring withb
.BoolSemiring.mult
(BoolSemiring b) Performs the multiplication operation of this semiring, defined as logical AND.BoolSemiring.or
(BoolSemiring b) Computes the logical OR of thisBoolSemiring
with another.BoolSemiring.xor
(BoolSemiring b) Computes the exclusive OR (XOR) of thisBoolSemiring
with another.