infovis.tree
Class Algorithms

java.lang.Object
  extended by infovis.tree.Algorithms

public class Algorithms
extends Object

Version:
$Revision: 1.7 $
Author:
Jean-Daniel Fekete

Constructor Summary
Algorithms()
           
 
Method Summary
static Tree insert(Tree fromTree, int fromRoot, Tree toTree, int toRoot)
           
static Tree insert(Tree fromTree, Tree toTree)
           
static int leafCount(Tree tree, int node)
           
static int leafCount(Tree tree, int node, int[] sumDegrees)
           
static int treeDepth(Tree tree)
           
static int treeDepth(Tree tree, int root)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithms

public Algorithms()
Method Detail

treeDepth

public static int treeDepth(Tree tree,
                            int root)

treeDepth

public static int treeDepth(Tree tree)

leafCount

public static int leafCount(Tree tree,
                            int node)

leafCount

public static int leafCount(Tree tree,
                            int node,
                            int[] sumDegrees)

insert

public static Tree insert(Tree fromTree,
                          int fromRoot,
                          Tree toTree,
                          int toRoot)

insert

public static Tree insert(Tree fromTree,
                          Tree toTree)


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.