Package es.uam.eps.ir.relison.metrics
Class PairMetricsTest
java.lang.Object
es.uam.eps.ir.relison.metrics.PairMetricsTest
public class PairMetricsTest
extends java.lang.Object
Automated unit tests for metrics computed over pairs of users.
-
Field Summary
Fields Modifier and Type Field Description private DirectedGraph<java.lang.Integer>
directedComplete
Directed complete graph.private DirectedGraph<java.lang.Integer>
directedEmpty
Directed empty graph (only nodes).private DirectedGraph<java.lang.Integer>
directedNonConnected
Directed disconnected graph (not even weakly).private DirectedGraph<java.lang.Integer>
directedStronglyConnected
Directed strongly connected graph.private DirectedGraph<java.lang.Integer>
directedWeaklyConnected
Directed weakly connected graph.private UndirectedGraph<java.lang.Integer>
undirectedComplete
Undirected complete graph.private UndirectedGraph<java.lang.Integer>
undirectedConnected
Undirected connected graph.private UndirectedGraph<java.lang.Integer>
undirectedEmpty
Undirected empty graph.private UndirectedGraph<java.lang.Integer>
undirectedNonConnected
Undirected disconnected graph. -
Constructor Summary
Constructors Constructor Description PairMetricsTest()
-
Method Summary
Modifier and Type Method Description void
embededness()
void
neighbourOverlap()
void
setUp()
static void
setUpClass()
void
tearDown()
static void
tearDownClass()
-
Field Details
-
directedStronglyConnected
Directed strongly connected graph. -
directedWeaklyConnected
Directed weakly connected graph. -
directedNonConnected
Directed disconnected graph (not even weakly). -
undirectedConnected
Undirected connected graph. -
undirectedNonConnected
Undirected disconnected graph. -
directedComplete
Directed complete graph. -
directedEmpty
Directed empty graph (only nodes). -
undirectedComplete
Undirected complete graph. -
undirectedEmpty
Undirected empty graph.
-
-
Constructor Details
-
PairMetricsTest
public PairMetricsTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
embededness
public void embededness() -
neighbourOverlap
public void neighbourOverlap()
-