Class UndirectedWeightedGraphTest

java.lang.Object
es.uam.eps.ir.relison.graph.UndirectedWeightedGraphTest

public class UndirectedWeightedGraphTest
extends java.lang.Object
Class for testing the fast implementation for undirected weighted graphs.
  • Constructor Summary

    Constructors 
    Constructor Description
    UndirectedWeightedGraphTest()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    void degrees()
    Test the degrees of the graph
    void edgeAddition()
    Tests the addition of edges to the graph
    void edgesAndNodesCount()
    Test that checks if the number of nodes and edges which reach a node or start from it are correct.
    void nodeAddition()
    Tests the addition of nodes to the graph.
    void setUp()  
    static void setUpClass()  
    void tearDown()  
    static void tearDownClass()  
    void test()  
    void types()
    Test the weights of the edges
    void updateWeights()
    Test the weights of the edges
    void weights()
    Test the weights of the edges

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setUpClass

      public static void setUpClass()
    • tearDownClass

      public static void tearDownClass()
    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • test

      public void test()
    • nodeAddition

      public void nodeAddition()
      Tests the addition of nodes to the graph.
    • edgeAddition

      public void edgeAddition()
      Tests the addition of edges to the graph
    • weights

      public void weights()
      Test the weights of the edges
    • types

      public void types()
      Test the weights of the edges
    • degrees

      public void degrees()
      Test the degrees of the graph
    • edgesAndNodesCount

      public void edgesAndNodesCount()
      Test that checks if the number of nodes and edges which reach a node or start from it are correct.
    • updateWeights

      public void updateWeights()
      Test the weights of the edges