Class VertexMetricsTest
java.lang.Object
es.uam.eps.ir.relison.metrics.complementarymetrics.VertexMetricsTest
public class VertexMetricsTest
extends java.lang.Object
Tests for complementary graph metrics.
-
Field Summary
Fields Modifier and Type Field Description private DirectedGraph<java.lang.Integer>
directedComplete
Directed complete graphprivate DirectedGraph<java.lang.Integer>
directedEmpty
Directed empty graph (only nodes)private DirectedGraph<java.lang.Integer>
directedNonConnected
Directed Unconnected Graph (not even weakly)private DirectedGraph<java.lang.Integer>
directedStronglyConnected
Directed Strongly Connected Graphprivate DirectedGraph<java.lang.Integer>
directedWeaklyConnected
Directed Weakly Connected Graphprivate UndirectedGraph<java.lang.Integer>
undirectedComplete
Undirected complete graphprivate UndirectedGraph<java.lang.Integer>
undirectedConnected
Undirected Connected Graphprivate UndirectedGraph<java.lang.Integer>
undirectedEmpty
Undirected empty graphprivate UndirectedGraph<java.lang.Integer>
undirectedNonConnected
Undirected Unconnected Graph -
Constructor Summary
Constructors Constructor Description VertexMetricsTest()
Constructor -
Method Summary
Modifier and Type Method Description void
degree()
void
hitsAuthorities()
void
hitsHubs()
void
inverseDegree()
void
localClustCoef()
void
pageRank()
void
setUp()
static void
setUpClass()
void
tearDown()
static void
tearDownClass()
-
Field Details
-
directedStronglyConnected
Directed Strongly Connected Graph -
directedWeaklyConnected
Directed Weakly Connected Graph -
directedNonConnected
Directed Unconnected Graph (not even weakly) -
undirectedConnected
Undirected Connected Graph -
undirectedNonConnected
Undirected Unconnected Graph -
directedComplete
Directed complete graph -
directedEmpty
Directed empty graph (only nodes) -
undirectedComplete
Undirected complete graph -
undirectedEmpty
Undirected empty graph
-
-
Constructor Details
-
VertexMetricsTest
public VertexMetricsTest()Constructor
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
degree
public void degree() -
inverseDegree
public void inverseDegree() -
localClustCoef
public void localClustCoef() -
pageRank
public void pageRank() -
hitsAuthorities
public void hitsAuthorities() -
hitsHubs
public void hitsHubs()
-