public class SharedTreeSubgraph
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
fontSize |
java.lang.String |
name |
java.util.ArrayList<SharedTreeNode> |
nodesArray |
int |
nPlaces |
SharedTreeNode |
rootNode |
boolean |
setDecimalPlaces |
int |
subgraphNumber |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
SharedTreeNode[] |
getNodes() |
int |
hashCode() |
SharedTreeNode |
makeLeftChildNode(SharedTreeNode parent)
Make the left child of a node.
|
SharedTreeNode |
makeRightChildNode(SharedTreeNode parent)
Make the right child of a node.
|
SharedTreeNode |
makeRootNode()
Make the root node in the tree.
|
void |
printDot(java.io.PrintStream os,
int maxLevelsToPrintPerEdge,
boolean detail,
java.lang.String optionalTitle,
PrintMojo.PrintTreeOptions treeOptions,
boolean isDirected) |
float |
scoreTree(double[] data) |
void |
setDecimalPlace(int nplaces) |
void |
setFontSize(int fontsize) |
java.lang.String |
toString() |
SharedTreeNode |
walkNodes(java.lang.String path) |
public final int subgraphNumber
public final java.lang.String name
public SharedTreeNode rootNode
public int fontSize
public boolean setDecimalPlaces
public int nPlaces
public java.util.ArrayList<SharedTreeNode> nodesArray
public SharedTreeNode makeRootNode()
public void setDecimalPlace(int nplaces)
public void setFontSize(int fontsize)
public SharedTreeNode makeLeftChildNode(SharedTreeNode parent)
parent
- Parent nodepublic SharedTreeNode makeRightChildNode(SharedTreeNode parent)
parent
- Parent nodepublic SharedTreeNode walkNodes(java.lang.String path)
public float scoreTree(double[] data)
public void printDot(java.io.PrintStream os, int maxLevelsToPrintPerEdge, boolean detail, java.lang.String optionalTitle, PrintMojo.PrintTreeOptions treeOptions, boolean isDirected)
public SharedTreeNode[] getNodes()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object