Interface IndefiniteGraph<N,​E>

    • Method Detail

      • getOutgoingEdgesIterator

        Iterator<E> getOutgoingEdgesIterator​(N node)
        Retrieves, for a given node, all outgoing edges.
        Parameters:
        node - the node
        Returns:
        an iterator over the outgoing edges
      • getTarget

        N getTarget​(E edge)
        Retrieves, for a given edge, its target node.
        Parameters:
        edge - the edge.
        Returns:
        the target node of the given edge.
      • getEdgesBetween

        default Iterator<E> getEdgesBetween​(N from,
                                            N to)
        Returns, for two given nodes, the edges between those nodes.
        Parameters:
        from - the source node
        to - the target node
        Returns:
        an iterator over the edges between the two nodes