Class SetMeetSemilattice<T>

Implementation of a meet semilattice for sets, providing methods to establish a partial order relation.

Type Parameters

  • T

    The type of elements in the sets.

Implements

Constructors

Methods

Constructors

Methods

  • Determines if one element in the semilattice is less than or equal to another element. This is crucial for determining if the analysis has reached a fixpoint.

    Parameters

    • a: Set<T>

      The element to be compared.

    • b: Set<T>

      The element to compare against.

    Returns boolean

    true if a is less than or equal to b, otherwise false.

  • Meets two elements of the semilattice, returning the greatest lower bound (glb) of the two elements.

    Parameters

    • a: Set<T>

      First element to meet.

    • b: Set<T>

      Second element to meet.

    Returns Set<T>

    The met value, representing the combination of a and b.