Class ImpedanceWeightedEdge

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

public class ImpedanceWeightedEdge extends org.jgrapht.graph.DefaultWeightedEdge
A default implementation for edges in a ImpedanceWeightedGraph. 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.
Since:
04.06.20
See Also:
  • Field Details

    • DEFAULT_IMPEDANCE_UNIT

      protected static final javax.measure.Unit<javax.measure.quantity.ElectricResistance> DEFAULT_IMPEDANCE_UNIT
  • Constructor Details

    • ImpedanceWeightedEdge

      public ImpedanceWeightedEdge()
  • Method Details

    • getImpedance

      public javax.measure.Quantity<javax.measure.quantity.ElectricResistance> getImpedance()
    • toString

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

      public Object clone()
      Overrides:
      clone in class Object