Algorithm Analysis (CSC 301 2015F) : EBoards

CSC301 2015F, Class 01: An Introduction to the Course


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit

Academic

Peer

Non-Extra Credit

Questions

Course Goals

Course Format

Approaching Algorithms

This semester, we add

Problem: Getting From Here to There

Given a collection of nodes (dots) and weighted edges (connections between the nodes), a designated source node, and a designated sink node, find the shortest path from the source to the sink.

Add a piece of information to each node: Length of the shortest known path from the source to that node. l(n)

Initially, l(source) = 0; l(n != source) = infinity

Maintain a collection, DONE, of nodes for which we've already determined the shortest path. These are ones we no longer have to visit. Initially, we should look at every node.

while nodes left in that collection choose the one with the smallest value, s look at each neighbor, n, not in DONE l(n) = min( l(s) + distance(s,n), l(n) )

Problem: Optimal Soldering Plans

Problem: Scheduling Overlapping Tasks