Class TestGraphHeavyNode

All Implemented Interfaces:
GraphHeavyNode<TestGraphHeavyEdge>, TestNode

public class TestGraphHeavyNode extends BasicGraphHeavyNode<TestGraphHeavyEdge> implements TestNode
Implementation of graph heavy node for tests.
Author:
Damien Carbonne
  • Constructor Details

    • TestGraphHeavyNode

      public TestGraphHeavyNode(String name)
  • Method Details

    • getName

      public final String getName()
      Specified by:
      getName in interface TestNode
      Returns:
      The node name (identifier-like).
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface TestNode
      Returns:
      The node label.
    • setLabel

      public void setLabel(String label)
      Description copied from interface: TestNode
      Sets the node label.
      Specified by:
      setLabel in interface TestNode
      Parameters:
      label - The label.
    • toString

      public String toString()
      Overrides:
      toString in class Object