Module logicng

Class BddLabelMapper

  • All Implemented Interfaces:
    LabelMapper<Integer>

    public abstract class BddLabelMapper
    extends BddMapper
    implements LabelMapper<Integer>
    An abstract super class for a label mapper for a graphical representation of a BDD.
    Since:
    2.4.0
    Version:
    2.4.0
    • Constructor Detail

      • BddLabelMapper

        public BddLabelMapper​(BDDKernel kernel)
        Constructs a new BDD label mapper for a given BDD kernel. The BDDs must be constructed with this kernel.
        Parameters:
        kernel - a BDD kernel
    • Method Detail

      • computeLabel

        public abstract String computeLabel​(Integer content)
        Description copied from interface: LabelMapper
        Computes a label for the given node content.
        Specified by:
        computeLabel in interface LabelMapper<Integer>
        Parameters:
        content - the content of the node
        Returns:
        the label for the node with this content