MCPcopy Create free account
hub / github.com/cp-algorithms/cp-algorithms / main

Function main

test/test_edmonds_karp.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "edmondskarp.h"
7
8int main() {
9 for (auto fn : flow_networks) {
10 capacity = fn.capacity;
11 n = capacity.size();
12 adj = fn.get_adj();
13
14 assert(maxflow(fn.source, fn.sink) == fn.maxflow);
15 }
16}

Callers

nothing calls this directly

Calls 1

get_adjMethod · 0.80

Tested by

no test coverage detected