当前位置: 动力学知识库 > 问答 > 编程问答 >

Does matlab build-in max-flow algorithm support undirected graph?

问题描述:

I am using the matlab build-in max-flow algorithm for undirected graph. Every edge is replaced by two directed edge with same capacity 1. However, it encounters an error:

"Reciprocal edges are not allowed in maxflow algorithms". Does matlab build-in max-flow algorithm support undirected graph?

分享给朋友:
您可能感兴趣的文章:
随机阅读: