Class ImpedanceWeightedGraph

java.lang.Object
org.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.AbstractBaseGraph<V,E>
org.jgrapht.graph.SimpleGraph<V,E>
org.jgrapht.graph.SimpleWeightedGraph<NodeInput,ImpedanceWeightedEdge>
edu.ie3.datamodel.graph.ImpedanceWeightedGraph
All Implemented Interfaces:
Serializable, Cloneable, org.jgrapht.Graph<NodeInput,ImpedanceWeightedEdge>

public class ImpedanceWeightedGraph extends org.jgrapht.graph.SimpleWeightedGraph<NodeInput,ImpedanceWeightedEdge>
An impedance weighted graph that uses ImpedanceWeightedEdges as edge type.
See Also:
  • Field Summary

    Fields inherited from interface org.jgrapht.Graph

    DEFAULT_EDGE_WEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEdgeWeight(ImpedanceWeightedEdge edge, double impedanceInOhm)
    Deprecated.
    Use setEdgeWeightQuantity(ImpedanceWeightedEdge, ComparableQuantity) instead, as it provides means for proper unit handling
    void
    setEdgeWeightQuantity(ImpedanceWeightedEdge edge, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricResistance> weight)
    Assigns a Quantity of type ElectricResistance to an instance of edge ImpedanceWeightedEdge

    Methods inherited from class org.jgrapht.graph.SimpleWeightedGraph

    createBuilder, createBuilder

    Methods inherited from class org.jgrapht.graph.AbstractBaseGraph

    addEdge, addEdge, addVertex, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeSupplier, getEdgeTarget, getEdgeWeight, getType, getVertexSupplier, incomingEdgesOf, inDegreeOf, iterables, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSupplier, setVertexSupplier, vertexSet

    Methods inherited from class org.jgrapht.graph.AbstractGraph

    assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.jgrapht.Graph

    containsEdge, removeAllEdges, removeAllEdges, removeAllVertices, setEdgeWeight