| CPSC 320: Analysis of Algorithms | Spring 2026 |
(b) For a set $S = \{ a, b, c \}$, let ${\cal P}(S)$ be the power set of $S$, the set of all eight subsets of $S$. The proper-subset relation $\subset$ on ${\cal P}(S)$ then defines a partial order on ${\cal P}(S)$. Draw a directed acyclic graph $G = (V, E)$ induced by $\subset$ on ${\cal P}(S)$; that is, $G = (V, E)$ is defined by $V = {\cal P}(S)$ and $E = \{ (A, B) : A \subset B \mbox{ for } A, B \in {\cal P}(S) \}$. Then give a topological ordering of $G$. How many different topological orderings does $G$ have?
|
|
CPSC 320 home page |
|
|