A path is a sequence of vertices where is an edge for each .