[boost] BGL: which algorithm needs edge_index