Module logicng

Interface LabelMapper<T>

  • Type Parameters:
    T - the type of the node content
    All Known Implementing Classes:
    BddLabelMapper
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface LabelMapper<T>
    A label mapper for generating graphical representations of formulas, BDDs and graphs. This mapper can be used to compute a label for the given node content.
    Since:
    2.4.0
    Version:
    2.4.0
    • Method Detail

      • computeLabel

        String computeLabel​(T content)
        Computes a label for the given node content.
        Parameters:
        content - the content of the node
        Returns:
        the label for the node with this content