Interface WeightedEdge<S extends Node,​T extends java.lang.Number>

  • Type Parameters:
    S - The type of node this edge connects
    T - The type of weight
    All Known Implementing Classes:
    WeightedDirectedEdge

    public interface WeightedEdge<S extends Node,​T extends java.lang.Number>
    Interface for weighted edges.
    Author:
    Matthias Thimm
    • Method Summary

      Modifier and Type Method Description
      T getWeight()
      Returns the weight of this edge.
    • Method Detail

      • getWeight

        T getWeight()
        Returns the weight of this edge.
        Returns:
        the weight of this edge.