fr.lri.bd.olap.model
Class CorrelationUtils
java.lang.Object
fr.lri.bd.olap.model.CorrelationUtils
public class CorrelationUtils
- extends Object
Utils used for correlation counting
- Author:
- holubec
|
Method Summary |
static edu.uci.ics.jung.graph.Vertex |
getPred(List<edu.uci.ics.jung.graph.Vertex> vertexes,
edu.uci.ics.jung.graph.Vertex v)
Returns predcesor of specified vertex from vertex lists. |
static Correlation |
loadCorrelation(OlapTree tree1,
OlapTree tree2,
String fileName)
Load correlation file for specified olap trees |
CorrelationUtils
public CorrelationUtils()
loadCorrelation
public static Correlation loadCorrelation(OlapTree tree1,
OlapTree tree2,
String fileName)
- Load correlation file for specified olap trees
- Parameters:
tree1 - Olap tree 1tree2 - Olap tree 2fileName - path to file
- Returns:
- Correlation DTO
getPred
public static edu.uci.ics.jung.graph.Vertex getPred(List<edu.uci.ics.jung.graph.Vertex> vertexes,
edu.uci.ics.jung.graph.Vertex v)
- Returns predcesor of specified vertex from vertex lists. It's used for find relations between schemas.
- Parameters:
vertexes - v - specified vertex
- Returns:
- predcesor of specified vertex from vertex lists