Class GraphImpl<V extends Vertex,​E extends Edge>

    • Constructor Detail

      • GraphImpl

        public GraphImpl​(IdGroupingToken groupId,
                         GraphEntities<V> vertices,
                         GraphEntities<E> edges)
        Graph Constructor
        Parameters:
        groupId - contiguous id generation within this group for instances of this class
        vertices - to use
        edges - to use
      • GraphImpl

        public GraphImpl​(GraphImpl<V,​E> graphImpl,
                         boolean deepCopy,
                         GraphEntityDeepCopyMapper<V> vertexMapper,
                         GraphEntityDeepCopyMapper<E> edgeMapper)
        Copy constructor for shallow copy
        Parameters:
        graphImpl - to copy
        vertexMapper - mapper to track mapping
        edgeMapper - mapper to tracking mapping
        deepCopy - when true, create a deep copy, shallow copy otherwise