Class AWTreeNode
- java.lang.Object
-
- org.apache.sysds.runtime.compress.workload.AWTreeNode
-
public abstract class AWTreeNode extends Object
A workload tree is a compact representation of the operations on a matrix and derived intermediates, including the basic control structure and inlined functions as well as links to categories. The intension is to provide the ability to look at a variable and the methods performed on this variable, pruning away the rest of the DAG.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAWTreeNode.WTNodeType
-
Constructor Summary
Constructors Constructor Description AWTreeNode(AWTreeNode.WTNodeType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(WTreeNode node)voidaddOp(Op op)List<WTreeNode>getChildNodes()List<Op>getOps()AWTreeNode.WTNodeTypegetType()booleanisEmpty()StringtoString()
-
-
-
Constructor Detail
-
AWTreeNode
public AWTreeNode(AWTreeNode.WTNodeType type)
-
-
Method Detail
-
getType
public AWTreeNode.WTNodeType getType()
-
addChild
public void addChild(WTreeNode node)
-
addOp
public void addOp(Op op)
-
isEmpty
public boolean isEmpty()
-
-