edge contraction
for a graph
and an edge
, the contraction of
in
is an operation that produces the graph
, where
by contracting
is denoted
.
like deletions, the order of contractions of edges does not affect the result. for a set , and
- the part of
containing
and the part of
containing
are merged (and
is removed) to form a part
.
[cite:;taken from @graph_klein_2024 chapter 2.2.5 contraction of edges]