Assertion: algorithm | /r/HasProperty | terminated
Facets:
value: immediately
type: MANNER
Source sentences:
text: If this step detects a negative cycle, the algorithm is terminated.
text: The Bellman–Ford algorithm may be improved in practice (although not in the worst case) by the observation that, if an iteration of the main loop of the algorithm terminates without making any changes, the algorithm can be immediately terminated, as subsequent iterations will not make any more changes.
text: When this vanishes, a point common to both constraint sets has been found and the algorithm can be terminated.