graphs.dinic

Attributes

INF

graph

sink

Now we add the vertices next to the font in the font with 1 capacity in this edge

source

Classes

Dinic

Module Contents

class graphs.dinic.Dinic(n)
add_edge(a, b, c, rcap=0)
max_flow(source, sink)
adj
lvl
ptr
q
graphs.dinic.INF
graphs.dinic.graph
graphs.dinic.sink = 9

Now we add the vertices next to the font in the font with 1 capacity in this edge (source -> source vertices)

graphs.dinic.source = 0