- java.lang.Object
-
- org.logicng.io.graphical.generators.BddMapper
-
- org.logicng.io.graphical.generators.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
-
-
Field Summary
-
Fields inherited from class org.logicng.io.graphical.generators.BddMapper
bddConstruction, kernel
-
-
Constructor Summary
Constructors Constructor Description BddLabelMapper(BDDKernel kernel)Constructs a new BDD label mapper for a given BDD kernel.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringcomputeLabel(Integer content)Computes a label for the given node content.
-
-
-
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:LabelMapperComputes a label for the given node content.- Specified by:
computeLabelin interfaceLabelMapper<Integer>- Parameters:
content- the content of the node- Returns:
- the label for the node with this content
-
-