Consider a weighted graph $G=(V,E)$ of vertex set $V = \{v_1, ..., v_n\}$ and weighted edge set $E = \{\langle v_i, v_j, w(i,j)\rangle \mid i, j \in 1, ..., n\}$, where $w$ is the function that assign the weight of a certain edge. This function $w$ is symmetric.
Suppose I want to partition the graph into multiple components $G_1, ..., G_k$:
- each component $G_i = (V_i, E_i)$ is such that $V_i \subseteq V$ and $E_i = \{ \langle v_i, v_j, w(i,j) \rangle \mid v_i, v_j \in V_i \} \subseteq E$;
- it holds that $\forall i, j \in 1, ..., k \quad V_i \cap V_j = \varnothing$ and $\bigcup\limits_{i=1}^k V_i = V$;
- the set of edges lost by performing the partition is denoted with $E_\text{lost} = E \setminus (E_1 \cup ... \cup E_k)$ and the sum of lost weights is denoted with $w_\text{lost} = \sum\limits_{\langle v_i,v_j,w_{ij}\rangle \in E_\text{lost}} w_{ij}$
Do exist in the literature heuristics to solve this weighted graph partition problem, running in linear or quasi-linear time in $n$ (*), that minimize $w_\text{lost}$:
- supposing $w$ is a metric, and
- supposing $w$ is not a metric, and no further hypothesis holds except for the symmetry?
(*) solutions having quadratic complexity are not accepted