Graphs fundamental to many problems. Web graphs. Biology. Other.

Similar documents
About this lecture. Representation of Graph Adjacency List, Adjacency Matrix. Breadth First Search

CSC 263 Lecture 3. October 4, 2006

Computer Graphic with Matrices Math 308A Project

12.7 One of the most prominent spectral lines of hydrogen is the line, a bright red line with a wavelength of 656.1

DC electrical circuits

ELG3175 Introduction to Communication Systems. VSB and Introduction to Angle Modulation

March 13, 2009 CHAPTER 3: PARTIAL DERIVATIVES AND DIFFERENTIATION

Business Forecasting

ALUMINUM ELECTROLYTIC CAPACITORS

Network Performance Metrics

EEO 401 Digital Signal Processing Prof. Mark Fowler

Curves in the space E

Installing remote sites using TCP/IP

6.1 Reciprocal, Quotient, and Pythagorean Identities

Reading Comprehension and Skills: Grade 1

Square Waves, Sinusoids and Gaussian White Noise: A Matching Pursuit Conundrum? Don Percival

Exercise 1 (MC Question)

OpenStax-CNX module: m Elemental Signals. Don Johnson. Perhaps the most common real-valued signal is the sinusoid.

Grzegorz Lenda*, Marcin Ligas** Splines and Kriging. the use of two methods for shell structures shape analysis

Lab 3 Acceleration. What You Need To Know: Physics 211 Lab

1 Trigonometric Functions

VS203B Lecture Notes Spring, Topic: Diffraction

4.5 Biasing in BJT Amplifier Circuits

EE201 Circuit Theory I Fall

Traffic. analysis. The general setting. Example: buffer. Arrival Curves. Cumulative #bits: R(t), R*(t) Instantaneous speeds: r(t), r*(t)

Potato IC. Contact Potato Semiconductor for IP or detail. PotatoSemi High frequency noise cancellation technology.

Signals and the frequency domain ENGR 40M lecture notes July 31, 2017 Chuan-Zheng Lee, Stanford University

Interconnect Planning, Synthesis, and Layout for Performance, Signal Reliability and Cost Optimization. Project Overview

5 Spatial Relations on Lines

10. The Series Resistor and Inductor Circuit

Heating and Air Conditioning. Wiring Diagram Package. Basic System. Form: Rev A (602) Supersedes: Nothing

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler

Digital Image Processing Lecture 5. Basic intensity transformations. Log transformation. Negative and Log transformations

N2-1. The Voltage Source. V = ε ri. The Current Source

(This lesson plan assumes the students are using an air-powered rocket as described in the Materials section.)

ELEG 3124 SYSTEMS AND SIGNALS Ch. 1 Continuous-Time Signals

Lecture 12: Modulation Techniques for Mobile Radio. Amplitude Modulation (Full AM or Double Sideband with Carrier)

A Cooperative MIMO Mobile Multihop Relay for Cellular Networks

Discrepancies Between Euclidean and Spherical Trigonometry. David Eigen

Spiraling Edge: Fast Surface Reconstruction from Partially Organized Sample Points

Spring Localization I. Roland Siegwart, Margarita Chli, Martin Rufli. ASL Autonomous Systems Lab. Autonomous Mobile Robots

x O O 3 O 05. Questions on Conditional Probability Q1. The probability that it will rain on a day in June is 0.

Investigation. Name: a About how long would the threaded rod need to be if the jack is to be stored with

Switch Basics and Applications. Selection Service Speed

Pointwise Image Operations

Chapter 4 Integers and Number Theory

MRI. Chapter 1. Larmor equation. Net magnetization. Rotating frame of reference 1/31/2017. ω0 (rad/s) = γ (rad/s/tesla) x B0 (Tesla)

Trigonometry: Angles between 0 and 360

Chapter 14: Bandpass Digital Transmission. A. Bruce Carlson Paul B. Crilly 2010 The McGraw-Hill Companies

EE 330 Lecture 24. Amplification with Transistor Circuits Small Signal Modelling

Generalized Head Light Effect in 2D Dimensional Rotated frames using Euler rotation matrix. Asad Ali.

ECE 391: Suggested Homework Problems

2.6 Special Angles on Parallel Lines Objectives: I CAN define angle pairs made by parallel lines. I CAN solve problems involving parallel lines.

Shape-Stable Region Boundary Extraction via Affine Morphological Scale Space (AMSS)

A1 K. 12V rms. 230V rms. 2 Full Wave Rectifier. Fig. 2.1: FWR with Transformer. Fig. 2.2: Transformer. Aim: To Design and setup a full wave rectifier.

Pairs of Lines and Angles

Visa Smart Debit/Credit Certificate Authority Public Keys

AM Demodulation (peak detect.)

Novel Analytic Technique for PID and PIDA Controller Design. Seul Jung and Richard C. Dorf. Department of Electrical and Computer Engineering

The University of Melbourne Department of Mathematics and Statistics School Mathematics Competition, 2013 JUNIOR DIVISION Time allowed: Two hours

Technology. Production functions Short run and long run Examples of technology Marginal product Technical rate of substitution Returns to scale

ONE-WAY RADAR EQUATION / RF PROPAGATION

Blast Off! All About SPACE SHUTTLES. All Abou. All About. All Abo. Miriam Gross. ROSEN / PowerKids Press ISBN

Please send me your slides before your presentation

EE558 - Digital Communications

RANCH RAIL FENCE AND GATE INSTALLATION INSTRUCTIONS

Solution of ECE 342 Test 2 S12

B-MAC Tunable MAC protocol for wireless networks

16.5 ADDITIONAL EXAMPLES

NCTM Content Standard/National Science Education Standard:

Universal microprocessor-based ON/OFF and P programmable controller MS8122A MS8122B

Social-aware Dynamic Router Node Placement in Wireless Mesh Networks

READING ASSIGNMENTS LECTURE OBJECTIVES. Problem Solving Skills. x(t) = cos(αt 2 ) ELEG-212 Signal Processing and Communications

Notes on the Fourier Transform

patented MANUFACTURING AND MINOR INVENTIONS

M2 3 Introduction to Switching Regulators. 1. What is a switching power supply? 2. What types of switchers are available?

Lecture September 6, 2011

Communication Systems. Department of Electronics and Electrical Engineering

<Diode Modules> RM200CY-24S HIGH POWER SWITCHING USE INSULATED TYPE

AI Summit 2018 START-UP PROSPECTUS FIND OUR MORE The. Incorporating. The AI Summit. The AIconics London. The AI Summit.

PERFORMANCE SPECIFICATION SHEET ELECTRON TUBE, RECEIVING TYPE 8233

EXPERIMENT #4 AM MODULATOR AND POWER AMPLIFIER

Multi-Channel Power Amplifi ers

Horsemania. Explore our handicraft ideas for a most splendid birthday party! SHARE YOU WITH US. C ur io us?

Sound so far: 10/13/2013. Sound and stringed instruments

The mathematical structure known as a graph has the valuable feature of

EXPERIMENT #9 FIBER OPTIC COMMUNICATIONS LINK

Lecture 4. EITN Chapter 12, 13 Modulation and diversity. Antenna noise is usually given as a noise temperature!

VS203B Lecture Notes Spring, Topic: Thin Film Interference

10! !. 3. Find the probability that a five-card poker hand (i.e. 5 cards out of a 52-card deck) will be:

E~S P.M.> P.M. > > Rhy. Fig. 1. And I don't know where I am goln' to. I ain't missln' not a single thing And I don't worry 'c:ause my wallet's fat

Active Filters - 1. Active Filters - 2

Dimensions. Transmitter Receiver ø2.6. Electrical connection. Transmitter +UB 0 V. Emitter selection. = Light on = Dark on

Dimensions. Transmitter Receiver ø2.6. Electrical connection. Transmitter +UB 0 V. Emitter selection. = Light on = Dark on

Dimensions. Model Number. Electrical connection emitter. Features. Electrical connection receiver. Product information. Indicators/operating means

1 of 6. Nominal Size Acutal Size Nominal Size Acutal Size

Lecture 19: Lowpass, bandpass and highpass filters

Question 1 TELE4353. Average Delay Spread. RMS Delay Spread = = Channel response (2) Channel response (1)

Institutional Assessment Report Texas Southern University College of Pharmacy and Health Sciences "P1-Entering Class Fall 2013

Transcription:

Gaph pa Moiaion: Gaph fndamenal o man poblem. Web gaph. Biolog. Ohe. Connecii i newok conneced and can o ge fom one node o anohe, o wha i he hoe pah? Eample: Diing diecion; ge o one conac hogh anohe; ocial media o conac pah. Some noaion: We ll all decibe he eice (V) and edge (E) of gaph G=(V, E). We omeime alk abo eice in V, and edge e in E. We denoe he nmbe of eice and edge a n and m epeciel. (The book omeime alo e V and E o denoe nmbe of eice and edge). Two fom of epeenaion: () Adjacenc li: each ee ha a linked li o each adjacen ee (can ae in pace O(n + m); lowe lookp; good in he cae of a elaiel pae gaph) () Adjacenc Mai (ake p moe pace O(n qaed), fae lookp; good in he cae of a dene gaph) Noe: nmbe of edge can be beween O() and O(n qaed), depending on whehe gaph i pae o dene. (a) (b) (c) Fige. Two epeenaion of an ndieced gaph. (a) An ndieced gaph G wih eice and 7 edge. (b) An adjacenc-li epeenaion of G. (c) The adjacenc-mai epeenaion of G. 6 6 6 6 6 6 (a) (b) (c)

How do we find he eice eachable fom a gien ee? Two wa o each gaph: BFS; DFS Beadh Fi Seach (BFS): Find all eice diance ; hen diance ; hen diance ; ec b beadh. Like iiing accoding o leel (of diance ; hen ; hen ; ec). Leel%% S% Leel%% a% Leel%% c% b% d% Alo in ndieced gaph: Leel%% S% Leel%% a% Leel%% c% b% d% Applicaion: finding hoe pah beween eice (eg, fom oce ee o all ohe eice). Rn ime: we will ee ha fa; linea in nmbe of eice and node: O(n + m) We colo he node o keep ack of hem (in BFS, DFS): Whie: Veice ae iniiall whie;

Ga: Fi ime ee enconeed, make ga Black: Onl when all i adjacen neighbo dicoeed, n o black. Main appoach: Ue fi in fi o qee o manage he dicoeed ga eice, nil we go hogh all hei adjacenc neighbo, and he hen n black. Same fo dieced and ndieced gaph. We ll wie hi o highe leel han book: BFS(G, ) // G i a gaph and i ome oce ee - iniialize all eice o whie, and diance infini - iniiall make ee ga, diance, and Enqee(, ) - while no emp = Deqee() fo ee ee in adjacenc li of if whie // fi dicoeed; p in he back of qee make ga.d =.d + // diance.paen = Enqee(,) change ee o black // afe going hogh adjacenc

(a) (b) w (c) (d) (e) (f) (g) (h) (i) ; A he ame ime: make Beadh Fi ee. If node i dicoeed afe, hen edge (,) i added o he ee and we a ha i a pedeceo (paen) of. A ee i dicoeed a mo once. Rn ime: n =nmbe eice m = nmbe edge - Each ee enqeed and deqeed a mo once (wh? Becae nee whie again). Co of hee i O(). n = nmbe of eice. Toal oe all eice O(n). - Scan adjacenc li onl when deqeed, heefoe each adjacenc li onl a mo once. Sm of all adjacenc li depend on nmbe of edge O(m) whee m = nmbe of edge. - Toal O(n + m). Linea in nmbe of eice and edge. BFS allow o find Shoe pah: BFS dicoe hoe pah diance. Shoe pah diance fom o : dela(,) = minimm nmbe of edge fom an pah fom ee o. (infini if no pah ei)

Main heoem (we e implified fom book foma): Le G=(V,E) be a gaph. Sppoe he BFS i n on G fom gien oce. Then pon eminaion, fo each ee in V,.d comped b BFS aifie.d = dela(,) Tha i,.d i he hoe pah, hoe nmbe of edge fom oce. Main idea of poof: indcion oe diance i (node wih diance i- fom oce dicoe ee, and i diance one awa fom, and heefoe diance i fom oce).