#include "CutGrid.h"
if (row == 0) return 10;
if (row == 1) return 9;
return 4;
}
int main() {
grid_cut.setEdgeCostFunction(edgeCost3x3);
grid_cut.setSource(1,0);
grid_cut.setSink(0,2);
double flow;
flow = grid_cut.getMaxFlow();
label = grid_cut.getLabel(1,2);
label = grid_cut.getLabel(0,0);
grid_cut.getLabels(labels);
}