https://www.space.ntu.edu.tw/navigate/s?u=GLQQYGMIW6
上面的网址是我的dg1000的max flow
但是我在读档的时候发生了问题:
graphlab output:
test.bat 12> is_flow -s v0 -t v999 -i outputs/dg1000_mf.dot
944,0//this
输出this部分的来源是:
user_cmd.cpp
...
FILE* fin1;
char buffer[200]="";
sprintf(buffer,"../%s",argv[6]);
fin1=fopen(buffer,"r");
unsigned int linecount=0;
int num1=0,num2=0,num3=0;
fgets(buffer,200,fin1);
vector<int> load;
while(!feof(fin1))
{
fgets(buffer,200,fin1);
int test=0;
num1=0;num2=0;num3=0;
if(test=sscanf(buffer,"v%d -> v%d [label = \"%d\"];",&num1,&num
2,&num3))
{
load.push_back(num1);
load.push_back(num2);
load.push_back(num3);
}
}
cout<<num1<<","<<num2<<endl;
...