File: ford_fulkerson_algorithm.cpp.stdout

package info (click to toggle)
seqan2 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228,748 kB
  • sloc: cpp: 257,602; ansic: 91,967; python: 8,326; sh: 1,056; xml: 570; makefile: 229; awk: 51; javascript: 21
file content (30 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Adjacency list:
0 -> 4,1,
1 -> 4,2,
2 -> 4,3,
3 -> 
4 -> 5,1,
5 -> 3,2,
Edge list:
Source: 0,Target: 4 (Id: 1)
Source: 0,Target: 1 (Id: 0)
Source: 1,Target: 4 (Id: 3)
Source: 1,Target: 2 (Id: 2)
Source: 2,Target: 4 (Id: 5)
Source: 2,Target: 3 (Id: 4)
Source: 4,Target: 5 (Id: 7)
Source: 4,Target: 1 (Id: 6)
Source: 5,Target: 3 (Id: 9)
Source: 5,Target: 2 (Id: 8)

Ford-Fulkerson (Value of the flow = 23)
(0,4): Flow: 11, Capacity: 13
(0,1): Flow: 12, Capacity: 16
(1,4): Flow: 0, Capacity: 10
(1,2): Flow: 12, Capacity: 12
(2,4): Flow: 0, Capacity: 9
(2,3): Flow: 19, Capacity: 20
(4,5): Flow: 11, Capacity: 14
(4,1): Flow: 0, Capacity: 4
(5,3): Flow: 4, Capacity: 4
(5,2): Flow: 7, Capacity: 7