Week 10: Graphs

Reading

  • Liang Ch24
  • Graphs section of this webpage is a great secondary source - just ignore the Python examples

Activities

Monday

Tuesday

Wednesday

  • Weighted Graphs and Shortest Paths
  • Read Ch 27.4-27.5
  • Djikstra's simulator
  • Prim MST simulator
  • Prim's practice Trackla.jar, Content->Graph Algorithms->Prim. No table or queue provided, makes clear why some structure is needed for efficient processing.
  • Dijkstra's practice Trackla.jar, Content->Graph Algorithms->Djikstra with Heap. Heap provided to use as priority queue. Use update button to modify cost of vertex already in queue
  • Dijkstra's practice Trackla.jar, Content->Graph Algorithms->Djikstra. Same but with queue provided, makes clear why some structure is needed for efficient processing

    Friday

    • No class

    Classroom slides/examples:

    Directory of classroom files from the week
    Right click files and save to your computer