Graph Structures
Create a Data Structure for Linked Data
Exploration
Read chapters 20 and 21 in A First Course on Data Structures in Python Explore directed and un-directed graph implementations in the ds2
package of donsheehy/datastructures.Review previous chapters to see how the data structures like List
andTree
support the behavior of this data structure.
Activities
Monday and Wednesday: Graph Structures - Explore how to implement the
Graph
andDigraph
data structures - Understand the adjacency list and adjacency matrix representations
- Examine Python source code segments to illustrate key points
- Explore how to implement the
Thursday: Continue an algorithm engineering project Friday: Team-work on final algorithm all-hands projects
Project
Goal
To build and use a Python program, called treesearcher
, that runs benchmarks to study the performance of finding data values in a hierarchical data structure.
Steps
- Use
treesearcher
as your template repository - Install the project’s dependencies using
devenv
- Follow the instructions to complete the project:
- Week 1: Implement all of the modules in
treesearcher
- Week 2: Design and conduct experiments and document experimental results
- Week 1: Implement all of the modules in
- Schedule office hours if you have questions