public class Operation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected short |
connector |
static short |
CONVERT_TO
Converts a connector to a loop/sequence/XOR/etc.
|
static short |
INSERT
makes a node optional by adding an optional tau/node at that point
exp.
|
protected boolean |
left |
protected short |
node |
protected short |
op |
static short |
REMOVE
removes a leaf from the tree
exp.gain: Model moves / synchronous moves
|
Constructor and Description |
---|
Operation(short op) |
Operation(short op,
short connector) |
Operation(short op,
short connector,
boolean left) |
Modifier and Type | Method and Description |
---|---|
short |
getConnector() |
boolean |
getLeft() |
short |
getNode()
Can store a node type.
|
short |
getOp() |
void |
setLeft(boolean left) |
void |
setNode(short node) |
java.lang.String |
toString() |
public static final short REMOVE
public static final short INSERT
public static final short CONVERT_TO
protected short op
protected short node
protected short connector
protected boolean left
public Operation(short op)
public Operation(short op, short connector)
public Operation(short op, short connector, boolean left)
public short getNode()
public void setNode(short node)
public boolean getLeft()
public short getOp()
public short getConnector()
public java.lang.String toString()
toString
in class java.lang.Object
public void setLeft(boolean left)