app/src/main/java/org/jgrapht/alg/StoerWagnerMinimumCut.java
public double vertexWeight(Set<V> v)
    {
        double wsum = 0.0;
        for (DefaultWeightedEdge e : workingGraph.edgesOf(v)) {
            wsum += workingGraph.getEdgeWeight(e);
        }
        return wsum;
    }
/**
     * Compute the sum of the weights entering a vertex
     */
Compute the sum of the weights entering a vertex
Compute the sum of the weights entering a vertex
public double vertexWeight(Set<V> v)
    {
        double wsum = 0.0;
        for (DefaultWeightedEdge e : workingGraph.edgesOf(v)) {
            wsum += workingGraph.getEdgeWeight(e);
        }
        return wsum;
    }
public double vertexWeight ( Set < V > v ) { double wsum = 0.0 ; for ( DefaultWeightedEdge e : workingGraph . edgesOf ( v ) ) { wsum += workingGraph . getEdgeWeight ( e ) ; } return wsum ; }
Compute the sum of the weights entering a vertex
Compute the sum of the weights entering a vertex