Using Graphs to Model Problems, Part 1

OCW Scholar

« Previous | Next »

Session Overview

ses-21.jpg

This lecture begins by finishing up k-means clustering. It then moves on to introduce the notion of modeling things using graphs (sets of nodes and edges that link them).


Session Activities

Lecture Videos

About this Video

Topics covered: Pseudocode, graphs, nodes, edges, adjacency matrix, adjacency list.

Resources

Check Yourself

What are filters used for?

View/hide answer

 

What is a graph?

View/hide answer

 

What is a digraph?

View/hide answer

 

What is a weighted graph?

View/hide answer

 

Based on the code in the handout, why is Graph a subclass of Digraph, rather than the other way around?

View/hide answer

 

« Previous | Next »