GraphUtilities`
GraphUtilities`

MinCut

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. >>

MinCut[g,k]

partitions the undirected graph g into k parts where the number of edge cuts is approximately minimized.

Details

  • MinCut functionality is now available in the built-in Wolfram Language function FindGraphPartition.
  • To use MinCut, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
  • MinCut treats the input as an undirected graph, and tries to find a partition of the vertices into k parts so that each part has roughly the same number of vertices, and so that the number of edges between these parts (known as the edge separator) is minimized.

Examples

Basic Examples  (2)

This defines a small graph:

This partitions the vertices into two parts with the minimum number of edge cuts:

MinCut has been superseded by FindGraphPartition: