fr.lri.bd.olap.jung
Class GraphUtils
java.lang.Object
fr.lri.bd.olap.jung.GraphUtils
public class GraphUtils
- extends Object
Various standard graph utils
- Author:
- holubec
|
Method Summary |
static void |
drawShortest(OlapTree tree,
edu.uci.ics.jung.graph.Vertex mTo,
List<edu.uci.ics.jung.graph.Vertex> mPred)
Draw shortest path from root to destination vertex |
static void |
drawSubGraph(OlapTree tree,
edu.uci.ics.jung.graph.Vertex mTo,
List<edu.uci.ics.jung.graph.Vertex> subVertexes)
Draw subgraph (used for visualizating new subgraph when choosing new root for datamart) |
GraphUtils
public GraphUtils()
drawShortest
public static void drawShortest(OlapTree tree,
edu.uci.ics.jung.graph.Vertex mTo,
List<edu.uci.ics.jung.graph.Vertex> mPred)
- Draw shortest path from root to destination vertex
- Parameters:
tree - Olap tree (with root specified)mTo - destination vertexmPred - list for callback - after return it will contains all vertexes on the path
drawSubGraph
public static void drawSubGraph(OlapTree tree,
edu.uci.ics.jung.graph.Vertex mTo,
List<edu.uci.ics.jung.graph.Vertex> subVertexes)
- Draw subgraph (used for visualizating new subgraph when choosing new root for datamart)
- Parameters:
tree - Olap treemTo - destination vertexsubVertexes - list for callback - after return it will contains all vertexes from a subgraph