All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Negative cycle?

Definition 25.2 University Computer Science — Year 1 · Chapter 25 — Shortest Paths

A negative cycle is a cycle of negative weight. If one is reachable from ss and reaches vv, going round it again and again makes δ(s,v)=−∞\delta(s, v) = -\infty.

Read in context →