In graph theory [Graph theory], a cycle in a graph [Graph] is a non-empty trail [Trail (Graph theory)] in which only the first and last vertices [Vertices] are equal.

(“Cycle (Graph Theory)” 2022)

Also see Circuit (Graph theory).

Negative cycle

[…] a cycle whose edges sum to a negative value […]

(“BellmanFord Algorithm” 2022)

Bibliography