public abstract class AbstractBinaryOperator extends AbstractOperator
| Modifier and Type | Field and Description |
|---|---|
protected FunctionNode |
leftArg |
protected FunctionNode |
rightArg |
parser, returnClassName| Constructor and Description |
|---|
AbstractBinaryOperator(FunctionNode leftArg,
FunctionNode rightArg) |
AbstractBinaryOperator(Stack<FunctionNode> stack) |
| Modifier and Type | Method and Description |
|---|---|
FunctionNode[] |
getArgs() |
int |
getMDD(MDDManager ddmanager)
Construct a MDD corresponding to this logical function.
|
protected abstract MDDOperator |
getMDDOperation() |
int |
getNbArgs() |
String |
toString(boolean par) |
getSymbol, isLeaf, toStringprotected final FunctionNode leftArg
protected final FunctionNode rightArg
public AbstractBinaryOperator(FunctionNode leftArg, FunctionNode rightArg)
public AbstractBinaryOperator(Stack<FunctionNode> stack)
public String toString(boolean par)
par - if true, add surrounding parenthesis.public int getNbArgs()
getNbArgs in class AbstractOperatorpublic FunctionNode[] getArgs()
getArgs in class AbstractOperatorpublic int getMDD(MDDManager ddmanager)
FunctionNodeddmanager - the MDDManager in which the MDD will be stored.protected abstract MDDOperator getMDDOperation()
Copyright © 2009–2020. All rights reserved.