StoerWagnerMinCut<V, E> constructor

StoerWagnerMinCut<V, E>({
  1. required Graph<V, E> graph,
  2. num edgeWeight(
    1. V source,
    2. V target
    )?,
  3. StorageStrategy<V>? vertexStrategy,
})

Implementation

StoerWagnerMinCut({
  required Graph<V, E> graph,
  num Function(V source, V target)? edgeWeight,
  StorageStrategy<V>? vertexStrategy,
}) : this._(
        graph: graph,
        edgeWeight: edgeWeight ?? constantFunction2(1),
        vertexStrategy: vertexStrategy ?? StorageStrategy.defaultStrategy(),
      );