Graph, graph cuts.
Graph partitioning optimization criteria.