Rebuilds any indices on the basis of current vertex and edge IDs. If you want the index to be accurate, you must run this every time the vertex or edge set changes. TODO(flamholz): keep the indices up to date with changes to the graph. This is not simple because the Vertex constructor may add itself to the graph before the Vertex has any edges, so updating indices on addVertex is insufficient.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.