- java.lang.Object
-
- org.logicng.knowledgecompilation.bdds.datastructures.BDDInnerNode
-
-
Constructor Summary
Constructors Constructor Description BDDInnerNode(Variable var, BDDNode low, BDDNode high)Constructor for a new inner BDD node holding a variable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)inthashCode()BDDNodehigh()Returns the node of the high edge ornullfor a terminal node.booleanisInnerNode()Returnstrueif this node is an inner node,falseif it is a terminal node.Variablelabel()Returns the label of the node.BDDNodelow()Returns the node of the low edge ornullfor a terminal node.Set<BDDNode>nodes()Returns all nodes of the sub-BDD starting at this node.StringtoString()
-
-
-
Method Detail
-
label
public Variable label()
Description copied from interface:BDDNodeReturns the label of the node. This can either be a variable or a constant.
-
isInnerNode
public boolean isInnerNode()
Description copied from interface:BDDNodeReturnstrueif this node is an inner node,falseif it is a terminal node.- Specified by:
isInnerNodein interfaceBDDNode- Returns:
trueif this node is an inner node,falseif it is a terminal node
-
low
public BDDNode low()
Description copied from interface:BDDNodeReturns the node of the low edge ornullfor a terminal node.
-
high
public BDDNode high()
Description copied from interface:BDDNodeReturns the node of the high edge ornullfor a terminal node.
-
nodes
public Set<BDDNode> nodes()
Description copied from interface:BDDNodeReturns all nodes of the sub-BDD starting at this node.
-
-