Graph, Graph Algorithm.
indices (neighbor_begin and neighbor_end) to graph._colidx, which holds neighbor vertices for the current vertex. Note that we need to check if vertex is the last vertex of graph and if so, we need to set neighbor_end to the last element of the array graph._colidx as well in Line 42 and Line 43.