function [perf] = scut(C,x)
     %perf = scut(C,x)

V1 = find(x); % {V1,V2} is the partition 
V2 = find(~x); 
perf = sum(sum(C(V1,V2))); % the size of the cut
