TreeJuxtaposer
Class TreePairs

java.lang.Object
  |
  +--TreeJuxtaposer.TreePairs

public class TreePairs
extends java.lang.Object

TreePairs store all the pairwise data structures needed for structural comparison and visulization.

Version:
Author:
Tamara Munzner, Serdar Tasiran, Li Zhang, Yunhong Zhou
See Also:
TreeJuxtaposer, Tree2Tree, AccordionDrawer.Tree, GridCell

Method Summary
 int isRangeInRange(Tree treeA, int AMin, int AMax, Tree treeB, int BMin, int BMax)
          given a node range in one tree, say whether there's an overlap with the node range in the other tree.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isRangeInRange

public int isRangeInRange(Tree treeA,
                          int AMin,
                          int AMax,
                          Tree treeB,
                          int BMin,
                          int BMax)
                   throws java.lang.Exception
given a node range in one tree, say whether there's an overlap with the node range in the other tree. returns number of overlapping nodes, possibly 0

java.lang.Exception