Class DistanceWeightedEdge

java.lang.Object
org.jgrapht.graph.DefaultWeightedEdge
edu.ie3.datamodel.graph.DistanceWeightedEdge
All Implemented Interfaces:
Serializable, Cloneable

public class DistanceWeightedEdge extends org.jgrapht.graph.DefaultWeightedEdge
A default implementation for edges in a DistanceWeightedGraph. All access to the weight of an edge must go through the graph interface, which is why this class doesn't expose any public methods.
See Also:
  • Field Details

    • DEFAULT_DISTANCE_UNIT

      protected static final javax.measure.Unit<javax.measure.quantity.Length> DEFAULT_DISTANCE_UNIT
  • Constructor Details

    • DistanceWeightedEdge

      public DistanceWeightedEdge()
  • Method Details

    • getDistance

      public javax.measure.Quantity<javax.measure.quantity.Length> getDistance()
    • toString

      public String toString()
      Overrides:
      toString in class org.jgrapht.graph.DefaultWeightedEdge
    • clone

      public Object clone()
      Overrides:
      clone in class Object