5 Pages

lec17

Course: CS 174, Fall 2008
School: Berkeley
Rating:
 
 
 
 
 

Word Count: 1824

Document Preview

Lecture CS174 17 Minimum Spanning Trees Remember the minimum spanning tree problem from CS170 you are given a graph G with weighted edges (real values on each edge) and the goal is to find a spanning tree T whose total weight is minimal. The minimum spanning tree is the least expensive way to connect up all the nodes. In the graph below, the minimum spanning tree is shown with heavy shaded edges. 5 12 17 10 8 4...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Berkeley >> CS 174

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Lecture CS174 17 Minimum Spanning Trees Remember the minimum spanning tree problem from CS170 you are given a graph G with weighted edges (real values on each edge) and the goal is to find a spanning tree T whose total weight is minimal. The minimum spanning tree is the least expensive way to connect up all the nodes. In the graph below, the minimum spanning tree is shown with heavy shaded edges. 5 12 17 10 8 4 8 13 11 6 14 Minimum spanning trees are useful for designing networks: computer networks, communication networks, and distribution networks for utilities like electrical power, gas, water etc. The edges represent links between sites, and the edge weight is the cost of connecting those sites. The minimum spanning tree is the cheapest structure that connects all the sites. You usually want some redundancy (extra paths) in such a network but the min spanning tree is a good starting point for designing an inexpensive network. De...
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Berkeley - CS - 174
CS174Lecture 25John CannySecret Sharing and Threshold DecryptionThe goal of secret-sharing is to divide a secret S into n pieces S1 , . . . , Sn such that any m + 1 pieces are sufcient to reconstruct S, but any m pieces give no information abo
Berkeley - CS - 25
CS174Lecture 25John CannySecret Sharing and Threshold DecryptionThe goal of secret-sharing is to divide a secret S into n pieces S1 , . . . , Sn such that any m + 1 pieces are sufcient to reconstruct S, but any m pieces give no information abo
Berkeley - CS - 174
CS174Lecture 24John CannyZero-Knowledge Proofs for discrete logsSuppose you want to prove your identity to someone, in order to cash a check or pick up a package. Most forms of ID can be copied or forged, but there is a zero-knowledge method t
Berkeley - CS - 24
CS174Lecture 24John CannyZero-Knowledge Proofs for discrete logsSuppose you want to prove your identity to someone, in order to cash a check or pick up a package. Most forms of ID can be copied or forged, but there is a zero-knowledge method t
Berkeley - CS - 174
CS174Monte-Carlo vs. Las VegasLecture 2John CannyA random algorithm is Las Vegas if it always produces the correct answer. The running time depends on the random choices made in the algorithm. Random Quicksort (where pivot elements are chosen
Berkeley - CS - 174
CS174Lecture 8John CannyMore on Coupon CollectingRecall that coupon collecting is equivalent to placing m balls in n bins so that no bin is empty. Last time we derived an upper bound for the probability that some bin is empty which is Pr[some
Berkeley - CS - 174
CS174Lecture 22John CannySecure Hash AlgorithmsAnother basic tool for cryptography is a secure hash algorithm. Unlike encryption, given a variablelength message x, a secure hash algorithm computes a function h(x) which has a xed and often smal
Berkeley - CS - 22
CS174Lecture 22John CannySecure Hash AlgorithmsAnother basic tool for cryptography is a secure hash algorithm. Unlike encryption, given a variablelength message x, a secure hash algorithm computes a function h(x) which has a xed and often smal
Berkeley - CS - 12
CS174 Sp2001Homework 12 Solutionsout: May 3, 20011. Each secret share si of a secret s is a pair xi ; yi where yi1= pxi andpx = rtxt + + r x + smod p is a polynomial whose coefcients r ; : : : ; rt are chosen independently and uniformly
Berkeley - CS - 174
CS174 Sp2001Homework 12 Solutionsout: May 3, 20011. Each secret share si of a secret s is a pair xi ; yi where yi1= pxi andpx = rtxt + + r x + smod p is a polynomial whose coefcients r ; : : : ; rt are chosen independently and uniformly
Berkeley - CS - 174
CS174Tail BoundsLecture 6John CannyLast time we looked at occupancy problems and derived some results on the distribution of some random variables. We derived bounds on the probability of a bin containing more than k balls, and the expected nu
Berkeley - CS - 6
CS174Tail BoundsLecture 6John CannyLast time we looked at occupancy problems and derived some results on the distribution of some random variables. We derived bounds on the probability of a bin containing more than k balls, and the expected nu
Berkeley - CS - 174
CS174 J. CannyMidterm 1Spring 2000 Feb 29This is a closed-book exam with 4 questions. You have 80 minutes. All questions are worth equal points, so be sure to budget 20 minutes per question. You are allowed to use the formula sheet that will be
Berkeley - CS - 174
CS174 J. CannyMidterm 2Spring 2000 April 6This is a closed-book exam with 4 questions. You are allowed to use the 4 sides of notes that you brought with you. The marks for each question are shown in parentheses, and the total is 80 points. Make
Berkeley - CS - 14
CS174 Lecture 14Data-Punctuated Token Trees (Berlekamp)Fingerprints provide a fast and communication-efficient way to check whether two strings are identical or not. Rather than sending S and T over a network, you can send the fingerprint f(S) from
Berkeley - CS - 174
CS174 Lecture 14Data-Punctuated Token Trees (Berlekamp)Fingerprints provide a fast and communication-efficient way to check whether two strings are identical or not. Rather than sending S and T over a network, you can send the fingerprint f(S) from
Berkeley - CS - 11
CS174 Lecture 11Routing in a Parallel ComputerWe study the problem of moving packets around in a parallel computer. In this lecture we will consider parallel computers with hypercube connection networks. The methods we describe are easy to adapt to
Berkeley - CS - 174
CS174 Lecture 11Routing in a Parallel ComputerWe study the problem of moving packets around in a parallel computer. In this lecture we will consider parallel computers with hypercube connection networks. The methods we describe are easy to adapt to
Berkeley - CS - 174
CS174 J. CannyMidterm 1Spring 99 Mar 2This is a closed-book exam with 4 questions. You have 80 minutes. All questions are worth equal points, so be sure to budget 20 minutes per question. You are allowed to use the formula sheet that will be ha
Berkeley - CS - 10
CS174 Chernoff BoundsLecture 10John CannyChernoff bounds are another kind of tail bound. Like Markoff and Chebyshev, they bound the total amount of probability of some random variable Y that is in the tail, i.e. far from the mean.Recall that
Berkeley - CS - 174
CS174 Chernoff BoundsLecture 10John CannyChernoff bounds are another kind of tail bound. Like Markoff and Chebyshev, they bound the total amount of probability of some random variable Y that is in the tail, i.e. far from the mean.Recall that
Berkeley - CS - 174
CS174 Lecture 19Paging, Online Algorithms and AdversariesYou should be familiar with the paging problem. A computer has a cache memory which can hold k pages. Then there is a much larger slow memory (or disk) which can hold an arbitrary number of p
Berkeley - CS - 19
CS174 Lecture 19Paging, Online Algorithms and AdversariesYou should be familiar with the paging problem. A computer has a cache memory which can hold k pages. Then there is a much larger slow memory (or disk) which can hold an arbitrary number of p
Berkeley - CS - 174
CS174 Occupancy ProblemsLecture 5John CannyOccupancy problems deal with pairings of objects. The basic occupancy problem is about placing m balls into n bins. This seemingly ordinary problem has a vast number of applications. Let Xi be the rand
Berkeley - CS - 5
CS174 Occupancy ProblemsLecture 5John CannyOccupancy problems deal with pairings of objects. The basic occupancy problem is about placing m balls into n bins. This seemingly ordinary problem has a vast number of applications. Let Xi be the rand
Berkeley - CS - 174
Solutions for CS174 Homework 6P1. From the lecture notes, E Hij n=2: If the probability of a given packet is delayed more than T n steps is bounded by 2,2n, then we can guarantee that all packets reach their destination in time T n with probabili
Berkeley - CS - 6
Solutions for CS174 Homework 6P1. From the lecture notes, E Hij n=2: If the probability of a given packet is delayed more than T n steps is bounded by 2,2n, then we can guarantee that all packets reach their destination in time T n with probabili
Berkeley - CS - 174
CS174 J. CannyFinal Exam SolutionsSpring 2001 May 161. Give a short answer for each of the following questions: (a) (4 points) Suppose two fair coins are tossed. Let X be 1 if the first coin is heads, 0 if the first coin is a tail. Let Y be 1 i
Berkeley - CS - 174
CS174Randomized Birthday SearchLecture 1John CannyFrom the table below, copy the number under the month of your birthday onto a piece of paper. Jan 323 Feb 106 Mar Apr May 261 13 75 Jun 137 July 354 Aug 292 Sept 230 Oct 168 Nov 44 Dec 199Now
Berkeley - CS - 174
CS174 Sp2001 J. CannyHomework 2out: Jan 25, 2001 due: Feb 1, 2001This homework is due by 5pm on Thursday Feb 1st. Please hand it to the CS174 homework box on the second oor of Soda Hall. 1. Suppose you need a biased coin which has probability k
Berkeley - CS - 174
CS174Lecture 29John CannyTraceable Anonymous CashTraceable anonymous cash sounds like an oxymoron. But the secret of good cryptography is to reveal only the information necessary, and only when appropriate. In this case, the cash is anonymous
Berkeley - CS - 29
CS174Lecture 29John CannyTraceable Anonymous CashTraceable anonymous cash sounds like an oxymoron. But the secret of good cryptography is to reveal only the information necessary, and only when appropriate. In this case, the cash is anonymous
Berkeley - CS - 174
CS174 Sp2001Quiz 1Feb 8, 2001Please write your name and SID number in the spaces below, and wait for the signal to start:NameSID11. Let X be a random variable which is 1 iff the number on a toss of a fair die is even, 0 otherwise. Let Y
Berkeley - CS - 174
CS174 Sp2001Homework 5due: Feb 22, 2001This homework is due by 5pm on Thursday Feb 22th. Please hand it to the CS174 homework box on the second oor of Soda Hall. 1. Let G be a random graph with n vertices and m edges generated using the rst ran
Berkeley - CS - 5
CS174 Sp2001Homework 5due: Feb 22, 2001This homework is due by 5pm on Thursday Feb 22th. Please hand it to the CS174 homework box on the second oor of Soda Hall. 1. Let G be a random graph with n vertices and m edges generated using the rst ran
Berkeley - HISTORY - 90
Solutions to homework #2. 1. Answer: 3 2/(3 + 2). Consider the cross-section through the vertex A of the cone and a diagonal BC of the top of the cube. We get two similar triangles ABC and AB C where B C is a diameter of the base the cone. If the s
Berkeley - CS - 294
The problemPractical Byzantine Fault ToleranceMiguel Castro and Barbara Liskov MITPresented to cs294-4 by Owen CooperProvide a reliable answer to a computation even in the presence of Byzantine faults. A client would like to Transmit a r
Berkeley - CS - 162
Review: Synchronization problem with ThreadsCS162 Operating Systems and Systems Programming Lecture 7 Mutual Exclusion, Semaphores, Monitors, and Condition VariablesSeptember 19, 2007 Prof. John Kubiatowicz http:/inst.eecs.berkeley.edu/~cs162 On
Berkeley - CS - 162
Review: Implementation of Locks by Disabling InterruptsCS162 Operating Systems and Systems Programming Lecture 8 Readers-Writers Language Support for SynchronizationSeptember 24, 2007 Prof. John Kubiatowicz http:/inst.eecs.berkeley.edu/~cs162 Ke
Berkeley - CS - 252
University of California, Berkeley College of Engineering Computer Science Division EECS Spring 2007 John KubiatowiczPrerequisite QuizSOLUTIONSJanuary 23, 2007 CS252 Computer Architecture and EngineeringThis prerequisite quiz will be used in
Berkeley - CS - 252
University of California, Berkeley College of Engineering Computer Science Division EECS Spring 2007 John KubiatowiczMarch 21st, 2007 CS252 Graduate Computer ArchitectureMidterm IYour Name: SID Number:Problem 1 2 3 4 5 TotalPossible 16 21
Berkeley - CS - 252
CS252 Graduate Computer Architecture Lecture 18 Error CorrectionJohn Kubiatowicz Electrical Engineering and Computer Sciences University of California, Berkeley http:/www.eecs.berkeley.edu/~kubitron/cs252 http:/www-inst.eecs.berkeley.edu/~cs252Rev
Berkeley - CS - 162
Goals for TodayCS162 Operating Systems and Systems Programming Lecture 27 Peer-to-peer Systems and Other TopicsDecember 7th, 2005 Prof. John Kubiatowicz http:/inst.eecs.berkeley.edu/~cs162 A couple of requested topics Windows vs. Linux Trusted
Berkeley - DATA - 247388
Papatsenko, DmitriCurriculum vitaeDmitri A. PapatsenkoPersonal dataDate of birth: 02.04.1967 Place of birth: Moscow, Russia University of California, Berkeley Department of Molecular & Cell Biology 163 Life Sciences Addition, #3200 Berkeley, C
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : APPLY FOR AWARDDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title:Meg Fink Apply for Awards FAOTodays Date:1/31/07# of People in Department: # of People Reporting to Y
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : STUDENT FINANCIALSDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title: Who Are Your Customers:Mindy Lopez Accounts Receivable System Billing & Payment Services Systems Admini
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE: FELLOWSHIPSDEPARTMENT INFO :Your Name:Graduate Services: FellowshipsSME Area of Expertise: Department Name:Maria Loza Assistant Director of Fellowships; Michael Ferencz Director of Financial Services;
Berkeley - SS - 2012
Student Systems 2012DEGREE AUDIT PROCESS DEFINTIONS : KUALI VS UCBProcess 1.5 Kuali (Version 4e) Degree Audit and Academic Evaluation Application The Degree Audit Application includes a database of requirements for all programs offered by the inst
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : KAREN DENTON GRADESMISC :To be registered : be enrolled in at least one class, paid at least 20% of reg fees and no active blocks. To be enrolled : be signed up and in the class, which means you may not be r
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : FEDERAL GRANTSDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title: Who Are Your Customers:Jennifer French Pell Grant/CPS Processing of FAFSA applications Financial Aid Sr. Ad
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : MISCDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title: Who Are Your Customers:Rachelle FeldmanTodays Date:2/21/07FAO Asst Director# of People in Department: # of Pe
Berkeley - SS - 2012
Student Systems 2012 SUMMER FINANCIAL AIDSummer Aid is only available to UCB students. Input Process OutputPLANNING AND BUDGETING Summer Budget Committee Meetings 1. Review Summer budget components includes EAP Weeks enrolled Number of units F
Berkeley - SS - 2012
Student Systems 2012 FY0809 IT Funding Request Summary Student Systems 2012 FY 200809 IT Bank Funding Request Summary Last year the campus allocated $1.6M from the IT Bank to the Student Systems 2012 initiative. This funding was allocated to two effo
Berkeley - SS - 2012
Kuali Student Service System Application Architecture RecommendationsAppendices: D, E, F, GFebruary 11, 2008 Editors Rick Burnette, Florida State University Gordon Uyeda, University of British Columbia Tim Heidinger, University of California, Berke
Berkeley - SS - 2012
Student Systems 2012 WORK STUDYInput Process OutputGET STUDENTS WITH WORK STUDY SAMS export file of students that have Work Study as part of their package : SID, Student Name, SSN, W-S ID, W-S Amount 1. Load new students that have Work Study as pa
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : CURRICULUM DEVELOPMENT (ENROLLMENT)DEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title: Who Are Your Customers:Karen Denton Curriculum Development Records Division Assistant
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : UNDERGRAD ADMISSIONSDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title:Anne De Luca Undergraduate Admissions Undergraduate Admissions Deputy Director Prospective, Admitted,
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : BUILD TABLESDEPARTMENT INFO :Your Name: SME Area of Expertise: Department Name: Your Job Title: Who Are Your Customers:Meg Fink Build tables FAOTodays Date:2/14/07# of People in Department: # of Peop
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : FUND MANAGEMENTDEPARTMENT INFO :Your Name:Rachelle Feldman, Adrienne Fong, Meg Fink Funds Management FAO Asst Director Students, Parents StaffTodays Date:2/7/07SME Area of Expertise: Department Name:
Berkeley - SS - 2012
Student Systems 2012FY0809 IT Funding Request SummaryStudent Systems 2012 FY 200809 IT Bank Funding Request Summary Last year the campus allocated $1.6M from the IT Bank to the Student Systems 2012 initiative. This funding was allocated to two ef
Berkeley - SS - 2012
Student Systems 2012 SME QUESTIONNAIRE : DISPERSING AWARDSDEPARTMENT INFO :Your Name: SME Area of Expertise:Adrienne FongTodays Date:2/7/07Create Ad Hoc reports, write specifications to Financial Aid programs managed by SIS programmers, tes