Skip to content
← All questions

What is a flow network in graph terms?

A flow network is a directed graph G(V,E)G(V, E) that has a source ss and a sink tt. The set VV represents the vertices or nodes, and EE represents the directed edges. Each edge (u,v)(u, v) is assigned a capacity c(u,v)c(u,v), which is the maximum amount of flow the edge can carry.

Conditions

  • The graph is directed.
  • There is a source vertex ss and a sink vertex tt.
  • Each directed edge (u,v)(u, v) has an associated capacity c(u,v)c(u,v).

Reasoning, step by step

  1. Identify the graph as a directed graph G(V,E)G(V, E).
  2. Locate the two distinguished vertices: the source ss and the sink tt.
  3. Recognize that VV is the set of vertices and EE is the set of directed edges.
  4. Note that every edge (u,v)(u, v) carries a capacity value c(u,v)c(u,v).

Example

The video defines a flow network as a directed graph written as G(V,E)G(V, E) with a source ss and a sink tt, where each edge (u,v)(u, v) has a capacity given as c(u,v)c(u,v).

Common misconceptions

  • Assuming the graph is undirected; the definition explicitly requires a directed graph.
  • Thinking capacity is a property of the vertices rather than the edges.
  • Believing a flow network can have multiple sources or sinks without specifying them as a single ss and tt in this basic definition.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.