evaluation of several cost functions for min-cut