Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| courses:cs211:winter2014:journals:shannon:chapter3 [2014/02/10 18:28] – [3.5: Connectivity in Directed Graphs] nollets | courses:cs211:winter2014:journals:shannon:chapter3 [2014/02/10 18:50] (current) – [3.6: Directed Acyclic Graphs and Topological Ordering] nollets | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| I would give this section a 8/10. It was easy to understand and a helpful recap of directed graphs. I had gotten used to thinking of graphs as trees rather than graphs and the can be very different! | I would give this section a 8/10. It was easy to understand and a helpful recap of directed graphs. I had gotten used to thinking of graphs as trees rather than graphs and the can be very different! | ||
| + | |||
| + | |||
| + | =====3.6: Directed Acyclic Graphs and Topological Ordering===== | ||
| + | |||
| + | A directed graph which contains no cycles is referred to as a directed acyclic graph or a DAG. DAGs are useful to represent dependencies, | ||
| + | |||
| + | I was a little confused on the O(n+m) run time. I mentioned this on my test, but I still get a little confused on how we determine whether to add or multiply runtimes. | ||
| + | |||
| + | I would give this section an 8/10. It was helpful and straightforward. The dependency concept is one I am comfortable and we definitely made a DAG similar to the one I described in the summary in 112. | ||
| + | |||
| + | |||
