Module logicng

Class BddEdgeStyleMapper

    • Constructor Detail

      • BddEdgeStyleMapper

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

      • computeStyle

        public abstract GraphicalEdgeStyle computeStyle​(Integer source,
                                                        Integer destination)
        Description copied from interface: EdgeStyleMapper
        Computes a style for the given edge between two node contents.
        Specified by:
        computeStyle in interface EdgeStyleMapper<Integer>
        Parameters:
        source - the content of the source node
        destination - the content of the destination node
        Returns:
        the style for the node with this content