We know the bellman-ford algorithms check all edges in each step, and for each edge if,
d(v)>d(u)+w(u,v)
then d(v) being updated such that w(u,v) is the weight of edge (u, v) and d(u) is the length of best finding path for vertex u. if in one step we have no update for vertexes, the algorithms terminate. with supposing this algorithms, for finding all shortest path from vertex s in graph G with n vertex after k<n iterate is finished, which of the following is correct?
1) number of edges in all shortest paths from
sis at mostk-12) weight of all shortest paths from
sis at mostk-13) Graph has no negative cycle.
I'm sure one of these is True, but My TA says Two of these is correct. any idea or hint for these problem ?