I want to find a shortest path from source to target in graph. In implementing of it I used Map:
Map
var predecessors : Map[VertexId, ListBuffer[Verte