Grredduy
Grredduy
Multistage Graphis a type of directed graph where the vertices are divided into
A
distinct stages or layers. The key feature of a multistage graph is that the edges in the
graph only connect nodes from one stage to the next, not within the same stage. This
structure makes it ideal for representing problems where decisions need to be made
sequentially or progressively, often in stages.
. Stages/Layers: The vertices are organized into a series of stages. Each stage
1
represents a subset of nodes, and edges can only go from one stage to the next
(e.g., from stage 1 to stage 2, from stage 2 to stage 3, and so on).
2. Directed Edges: The edges between nodes represent transitions or decisions
that lead from one stage to another. These edges have a direction, meaning the flow
is from one vertex to another in a specific order.
3. Optimization Problems: Multistage graphs are often used in optimization
problems, where the goal is to find the best path or sequence of decisions over
multiple stages.
📦 routing.
3. Resource Management: Scheduling and logistics problems.
Properties of MST
📍
✅
. Connectsall verticesin the graph.
1
🧮
2. Containsno cycles.
3. Total edge weight is minimized.
4. If a graph hasV vertices, a minimum spanning tree will have exactlyV-1
edges.
∗E is the set of edges such that (u,v)∈E∗ if there exists a path from u to
● E
v in G.
What is a Greedy Algorithm?