The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

20 lines
530 B

/* maxflow.h */
/* Written by Andrew Makhorin <mao@gnu.org>, October 2015. */
#ifndef MAXFLOW_H
#define MAXFLOW_H
int max_flow(int nn, int ne, const int beg[/*1+ne*/],
const int end[/*1+ne*/], const int cap[/*1+ne*/], int s, int t,
int x[/*1+ne*/]);
/* find max flow in undirected capacitated network */
int max_flow_lp(int nn, int ne, const int beg[/*1+ne*/],
const int end[/*1+ne*/], const int cap[/*1+ne*/], int s, int t,
int x[/*1+ne*/]);
/* find max flow with simplex method */
#endif
/* eof */