public class ValueNode extends Object implements FunctionNode
| Modifier and Type | Field and Description |
|---|---|
static ValueNode |
FALSE |
static ValueNode |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getMDD(MDDManager ddmanager)
Construct a MDD corresponding to this logical function.
|
ValueNode |
getNode(int value) |
boolean |
isLeaf()
Is it a leaf? Only used to help some toString methods.
|
String |
toString(boolean par) |
public final ValueNode getNode(int value)
public String toString(boolean par)
toString in interface FunctionNodepar - if true, add surrounding parenthesis.public boolean isLeaf()
FunctionNodeisLeaf in interface FunctionNodepublic int getMDD(MDDManager ddmanager)
FunctionNodegetMDD in interface FunctionNodeddmanager - the MDDManager in which the MDD will be stored.Copyright © 2009–2020. All rights reserved.