2013-04-12-AdjacencyRepresentations

Table of Contents

1 Homework    slide

  • Represent graphs as adjacency matrix, adjacency list
  • Work on your projects
  • Review your midterm

2 Graphs    slide

  1. img/Directed_acyclic_graph.png
  2. img/6n-graf.svg.png

3 Output    slide

  • File in Github pull request
  • Represent Matrix and list in some sort of organized way
[[0 1 1 1]
 [1 0 0 1]
 ...]

{1: [2,3,4],
 2: [1, 4]}
0,1,1,1
1,0,0,1
...

1,2,3,4
2,1,4

4 NetworkX    slide

  • Python library for manipulating graphs
  • Potentially useful for your projects
  • Not homework

5 VirtualEnv    slide

  • Install and manage libraries
  • activate each time you start a new session
$ virtualenv venv
$ source venv/bin/activate
$ pip install <python package>

Date: 2013-04-12 13:38:59 PDT

Author: Jim Blomo

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0