Package es.uam.eps.ir.relison.metrics
Class CorenessTest
java.lang.Object
es.uam.eps.ir.relison.metrics.CorenessTest
public class CorenessTest
extends java.lang.Object
Automated unit tests for the coreness metric.
-
Field Summary
Fields Modifier and Type Field Description private DirectedGraph<java.lang.Integer>directedDirected graphprivate DirectedGraph<java.lang.Integer>directedCompleteDirected complete graphprivate DirectedGraph<java.lang.Integer>directedEmptyDirected empty graph (only nodes)private UndirectedGraph<java.lang.Integer>undirectedUndirected graphprivate UndirectedGraph<java.lang.Integer>undirectedCompleteDirected complete graphprivate UndirectedGraph<java.lang.Integer>undirectedEmptyUndirected empty graphprivate UndirectedGraph<java.lang.Integer>undirectedMultiGraphUndirected multi graph. -
Constructor Summary
Constructors Constructor Description CorenessTest() -
Method Summary
Modifier and Type Method Description voidcomplete()Checks the coreness for a group of complete networks.voiddirected()Checks the different variants of the coreness for a directed network.voidempty()Checks the coreness for a group of empty networks.voidsetUp()static voidsetUpClass()voidtearDown()static voidtearDownClass()voidundirected()Checks the coreness for an undirected network.voidundirectedMultigraph()Checks the coreness of an undirected multi-graph
-
Field Details
-
directedComplete
Directed complete graph -
undirectedComplete
Directed complete graph -
directedEmpty
Directed empty graph (only nodes) -
undirected
Undirected graph -
directed
Directed graph -
undirectedEmpty
Undirected empty graph -
undirectedMultiGraph
Undirected multi graph.
-
-
Constructor Details
-
CorenessTest
public CorenessTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
empty
public void empty()Checks the coreness for a group of empty networks. -
complete
public void complete()Checks the coreness for a group of complete networks. -
undirected
public void undirected()Checks the coreness for an undirected network. -
undirectedMultigraph
public void undirectedMultigraph()Checks the coreness of an undirected multi-graph -
directed
public void directed()Checks the different variants of the coreness for a directed network.
-