Main function is function max_flow=ff_max_flow(source,sink,capacity,nodes_number).
The graph is expressed as N by N adjacency matrix. N is the number of vertices in the graph, i.e., "nodes_number". "source","sink" are identified by the node ID. "capacity" is an N by N matrix express the edge capacity. "max_flow" is output max flow found.
just follow the description, first create your matrix from command line, then use the command
max_flow=ff_max_flow(number of sources,number of sinks, matrix name, number of nodes)
it will give you the output max_flow =
or just find maximum flow min cut using