Class TreeContainer
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.layouters.rt_tree.TreeContainer
public class TreeContainer extends Object
Contains additional informations about each tree in the forest.
- Author:
- Joerg Bartelheimer
-
Constructor Summary
Constructors Constructor Description TreeContainer(HashMap<Integer,Double> depthOffset, HashMap<Node,Integer> bfsNum, HashMap<Integer,Double> maxNodeHeight, HashMap<Node,Integer> bfsNumUpsideDown)
TreeContainer(HashMap<Node,Integer> bfsNum, HashMap<Integer,Double> maxNodeHeight)
TreeContainer(HashMap<Node,Integer> bfsNum, HashMap<Integer,Double> maxNodeHeight, HashSet<Edge> edges)
TreeContainer(LinkedList<?> treeMap, HashMap<Integer,Double> depthOffset, HashMap<Node,Integer> bfsNum, HashMap<Integer,Double> maxNodeHeight)
-
Method Summary
Modifier and Type Method Description HashMap<Node,Integer>
getBfsNum()
HashMap<Node,Integer>
getBfsNumUpsideDown()
HashMap<Integer,Double>
getDepthOffset()
HashSet<Edge>
getEdges()
HashMap<Integer,Double>
getMaxNodeHeight()
LinkedList<?>
getTreeMap()
void
setBfsNum(HashMap<Node,Integer> map)
void
setDepthOffset(HashMap<Integer,Double> map)
void
setMaxNodeHeight(HashMap<Integer,Double> map)
void
setTreeMap(LinkedList<?> list)
-
Constructor Details
-
TreeContainer
-
TreeContainer
-
TreeContainer
-
TreeContainer
-
-
Method Details
-
getDepthOffset
- Returns:
- depthOffset stored for each node in the forest
-
getTreeMap
- Returns:
- treeMap stored for each node in the forest
-
setDepthOffset
- Parameters:
depthOffset
-
-
setTreeMap
- Parameters:
treeMap
-
-
getBfsNum
- Returns:
- bfsNum stored for each node in the forest
-
setBfsNum
- Parameters:
bfsNum
-
-
getMaxNodeHeight
- Returns:
- the y dimension for each node
-
setMaxNodeHeight
- Parameters:
maxNodeHeight
-
-
getEdges
-
getBfsNumUpsideDown
-