Interface WeightedEdge<S extends Node,T extends 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 Number>
Interface for weighted edges.
Author:
Matthias Thimm
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the weight of this edge.
  • Method Details

    • getWeight

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