Interface DirectedSubGraph

    • Method Detail

      • addEdgeSegment

        void addEdgeSegment​(EdgeSegment edgeSegment)
        Register an edge segment on the subgraph
        Parameters:
        edgeSegment - to add
      • removeEdgeSegment

        void removeEdgeSegment​(EdgeSegment edgeSegment)
        Remove an edge segment on the subgraph
        Parameters:
        edgeSegment - to remove
      • containsEdgeSegment

        boolean containsEdgeSegment​(EdgeSegment edgeSegment)
        Verify if given edge segment is registered on this subgraph
        Parameters:
        edgeSegment - to verify
        Returns:
        true when registered, false otherwise
      • getNumberOfVertices

        long getNumberOfVertices()
        Based on the registered edge segments, the number of vertices is automatically determined. This method provides the number of vertices corresponding to these registered edge segments
        Returns:
        number of vertices
      • clone

        DirectedSubGraph clone()
        Create a shallow copy of this entity
        Specified by:
        clone in interface IdAble
        Returns:
        shallow copy of entity