Class UndirectedNetworkConnections<N,​E>

    • Constructor Detail

      • UndirectedNetworkConnections

        UndirectedNetworkConnections​(java.util.Map<E,​N> incidentEdgeMap)
    • Method Detail

      • adjacentNodes

        public java.util.Set<N> adjacentNodes()
      • edgesConnecting

        public java.util.Set<E> edgesConnecting​(N node)
        Description copied from interface: NetworkConnections
        Returns the set of edges connecting the origin node to node. For networks without parallel edges, this set cannot be of size greater than one.