Greedy algorithms. Shortest paths in weighted graphs. Tyler Moore. Shortest-paths problem. Shortest path applications.
|
|
- Randolf Jefferson
- 5 years ago
- Views:
Transcription
1 Shortet-path problem Greedy algorithm Shortet path in weighted graph Problem. Gien a digraph G = (V, E), edge length e 0, orce V, and detination t V, find the hortet directed path from to t. Tyler Moore CS, The Unierity of Tla orce 0 Some lide created by or adapted from Dr. Kein Wayne. For more information ee Some code reed from Python Algorithm by Magn Lie Hetland. 0 detination t length of path = = / Car naigation Shortet path application PERT/CPM. Map roting. Seam caring. Robot naigation. Textre mapping. Typeetting in LaTeX. Urban traffic planning. Telemarketer operator chedling. Roting of telecommnication meage. Network roting protocol (OSPF, BGP, RIP). Optimal trck roting throgh gien traffic congetion pattern. Reference: Network Flow: Theory, Algorithm, and Application, R. K. Ahja, T. L. Magnanti, and J. B. Orlin, Prentice Hall,. / /
2 The many cae of finding hortet path Weighted Graph Data Strctre Neted Adjacency Dictionarie w/ Edge Weight We e already een how to calclate the hortet path in an nweighted graph (BFS traeral) We ll now tdy how to compte the hortet path in different circmtance for weighted graph Single-orce hortet path on a weighted DAG Single-orce hortet path on a weighted graph with nonnegatie weight (Dijktra algorithm) a b d c e f g h N = { a : { b :, c :, d :, e :, f : }, b : { c :, e : }, c : { d : }, d : { e : }, e : { f : }, f : { c :, g :, h : }, g : { f :, h : }, h : { f :, g : } } >>> b i n N[ a ] # Neighborhood memberh Tre >>> l e n (N[ f ] ) # Degree >>> N[ a ] [ b ] # Edge w e i g h t f o r ( a, b ) / / Shortet path in DAG Recrie oltion to finding hortet path in DAG Recrie approach to finding the hortet path from a to z Ame we already know the ditance d() to z for each of a neighbor G[a] Select the neighbor that minimize d() + W (a, ) def r e c d a g p (W,, t ) : #S h o r t e t path from to #Memoize f def d ( ) : #D i t a n c e from to t i f == t : retrn 0#We r e t h e r e! # Retrn the b e t o f e e r y f i r t t e p retrn min (W[ ] [ ]+d ( ) f o r i n W[ ] ) retrn d ( ) #Apply f to a c t a l t a r t node / /
3 Shortet path in DAG: Iteratie approach Relaxing edge The iteratie oltion i a bit more complicated We mt tart with a topological ort Keep track of an pper bond on the ditance from a to each node, initialized to Go throgh each ertex and relax the ditance etimate by inpecting the path from the ertex to it neighbor In general, relaxing an edge (, ) conit of teting whether we can horten the path to fond o far by going throgh ; if we can, we pdate d[] with the new ale Rnning time: Θ(m + n) : d[] = : d[] = : W[][] = / 0 / Relaxing edge Iteratie oltion to finding hortet path in DAG : d[] = 0 : d[] = : W[][] = i n f = f l o a t ( i n f ) def r e l a x (W,,, D, P ) : d = D. get (, i n f ) + W[ ] [ ]# P o i b l e h o r t c t e t i m a t e i f d < D. get (, i n f ) : # I i t r e a l l y a h o r t c t? D[ ], P [ ] = d, # Update e t i m a t e and p a r e n t retrn Tre # There wa a change! def dag p (W,, t ) : #S h o r t e t path from to t d = { : f l o a t ( i n f ) f o r i n W} # D i t a n c e e t i m d [ ] = 0 #S t a r t node : Zero d i t a n c e f o r i n t o p o r t (W) : #I n top o r t e d o r d e r... i f == t : break #Hae we a r r i e d? f o r i n W[ ] : #For each ot edge... d [ ] = min ( d [ ], d [ ] + W[ ] [ ] ) # Relax the edg retrn d [ t ] #D i t a n c e to t ( from ) 0 / /
4 Shortet-path on weighted DAG example Shortet-path on weighted DAG: exercie b d a c e Topological ort: a, c, b, d, e d[node]: pper bd. dit. from a Node init. (=a) (=c) (=b) (=d) (=e) a b c d e 0 0 / / Bt what if there are cycle? With a DAG, we can elect the order in which to iit node baed on the topological ort With cycle we can t eaily determine the bet order If there are no negatie edge, we can traere from the tarting ertex, iiting node in order of their etimated ditance from the tarting ertex In Dijktra algorithm, we e a priority qee baed on minimm etimated ditance from the orce to elect which ertice to iit Rnning time: Θ((m + n) lg n) Dijktra algorithm combine approache een in other algorithm Node dicoery: bit like breadth-firt traeral Node iitation: elected ing priority qee Shortet path calclation: e relaxation a in algorithm for hortet path in DAG Dijktra' algorithm Greedy approach. Maintain a et of explored node S for which algorithm ha determined the hortet path ditance d() from to. Initialize S = { }, d() = 0. Repeatedly chooe nexplored node which minimize S d() e hortet path to ome node in explored part, followed by a ingle edge (, ) / /
5 Dijktra' algorithm Dijktra' algorithm: proof of correctne Greedy approach. Maintain a et of explored node S for which algorithm ha determined the hortet path ditance d() from to. Initialize S = { }, d() = 0. Repeatedly chooe nexplored node which minimize add to S, and et d() = π(). S d() e hortet path to ome node in explored part, followed by a ingle edge (, ) d() Inariant. For each node S, d() i the length of the hortet path. Pf. [ by indction on S ] Bae cae: S = i eay ince S = { } and d() = 0. Indctie hypothei: Ame tre for S = k. Let be next node added to S, and let (, ) be the final edge. The hortet path pl (, ) i an path of length π(). Conider any path P. We how that it i no horter than π(). Let (x, y) be the firt edge in P that leae S, and let P' be the bpath to x. P i already too long a oon a it reache y. (P) (P') + (x, y) nonnegatie length d(x) + (x, y) indctie hypothei π (y) definition of π(y) π () Dijktra choe intead of y S P' x y P / / Dijktra' algorithm: efficient implementation Dijktra algorithm Critical optimization. For each nexplored node, explicitly maintain π() intead of compting directly from formla: For each S, π () can only decreae (becae S only increae). More pecifically, ppoe i added to S and there i an edge (, ) leaing. Then, it ffice to pdate: Critical optimization. Ue a priority qee to chooe the nexplored node that minimize π (). π() = min e = (,) : S d() + e. π () = min { π (), d() + (, ) } from heapq import heapph, heappop def d i j k t r a (G, ) : D, P, Q, S = { : 0 }, {}, [ ( 0, ) ], et ( ) # Et., t r e e, q while Q: # S t i l l n p r o c e e d node?, = heappop (Q) # Node with l o w e t e t i m a t e i f i n S : contine # A l r e a d y i i t e d? Skip i t S. add ( ) # We e i i t e d i t now f o r i n G[ ] : # Go throgh a l l i t n e i g h b o r r e l a x (G,,, D, P) # Relax the ot edge heapph (Q, (D[ ], ) )# Add to qee, w/ e t. a p r i retrn D, P # F i n a l D and P r e t r n e d / /
6 Dijktra algorithm example Dijktra algorithm: exercie b d 0 a c e d[node]: pper bd. dit. from a Node init. (=a) (=c) (=e) (=b) (=d) a b 0 c d e 0 / /
Myriad of applications
Shortet Path Myriad of application Finding hortet ditance between location (Google map, etc.) Internet router protocol: OSPF (Open Shortet Path Firt) i ued to find the hortet path to interchange package
More informationDepartment of Mechanical Engineering Massachusetts Institute of Technology Modeling, Dynamics and Control III Spring 2002
Department of Mechanical Engineering Maachuett Intitute of Technology 2.010 Modeling, Dynamic and Control III Spring 2002 SOLUTIONS: Problem Set # 10 Problem 1 Etimating tranfer function from Bode Plot.
More informationSparse Fault-Tolerant BFS Trees. Merav Parter and David Peleg Weizmann Institute Of Science BIU-CS Colloquium
Spare Fault-Tolerant BFS Tree Merav Parter and David Peleg Weizmann Intitute Of Science BIU-CS Colloquium 16-01-2014 v 5 Breadth Firt Search (BFS) Tree Unweighted graph G=(V,E), ource vertex V. Shortet-Path
More informationGraphs and Networks Lecture 5. PageRank. Lecturer: Daniel A. Spielman September 20, 2007
Graphs and Networks Lectre 5 PageRank Lectrer: Daniel A. Spielman September 20, 2007 5.1 Intro to PageRank PageRank, the algorithm reportedly sed by Google, assigns a nmerical rank to eery web page. More
More informationProblem Set 8 Solutions
Deign and Analyi of Algorithm April 29, 2015 Maachuett Intitute of Technology 6.046J/18.410J Prof. Erik Demaine, Srini Devada, and Nancy Lynch Problem Set 8 Solution Problem Set 8 Solution Thi problem
More informationChapter 7. Network Flow. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 7 Network Flow Slide by Kevin Wayne. Copyright 5 Pearon-Addion Weley. All right reerved. Soviet Rail Network, 55 Reference: On the hitory of the tranportation and maximum flow problem. Alexander
More informationImposing and Testing Equality Constraints in Models
Impoing and Teting Eqality Contraint in Model Richard William, Univerity of Notre Dame, http://www3.nd.ed/~rwilliam/ Lat revied ebrary 15, 015 Overview. We have previoly diced how to impoe and tet vario
More informationClustering Methods without Given Number of Clusters
Clutering Method without Given Number of Cluter Peng Xu, Fei Liu Introduction A we now, mean method i a very effective algorithm of clutering. It mot powerful feature i the calability and implicity. However,
More informationLecture 21. The Lovasz splitting-off lemma Topics in Combinatorial Optimization April 29th, 2004
18.997 Topic in Combinatorial Optimization April 29th, 2004 Lecture 21 Lecturer: Michel X. Goeman Scribe: Mohammad Mahdian 1 The Lovaz plitting-off lemma Lovaz plitting-off lemma tate the following. Theorem
More informationCS4800: Algorithms & Data Jonathan Ullman
CS800: Algorithm & Data Jonathan Ullman Lecture 17: Network Flow Chooing Good Augmenting Path Mar 0, 018 Recap Directed graph! = #, % Two pecial node: ource & and ink = ' Edge capacitie ( ) 9 5 15 15 ource
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Recitation 13 10/31/2008. Markov Chains
MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/5.085J Fall 008 Recitation 3 0/3/008 Marko Chains Problem 9 from Poisson process exercises in [BT] Fact: If there is a single recurrent class, the frequency
More informationV = 4 3 πr3. d dt V = d ( 4 dv dt. = 4 3 π d dt r3 dv π 3r2 dv. dt = 4πr 2 dr
0.1 Related Rate In many phyical ituation we have a relationhip between multiple quantitie, and we know the rate at which one of the quantitie i changing. Oftentime we can ue thi relationhip a a convenient
More informationNCAAPMT Calculus Challenge Challenge #3 Due: October 26, 2011
NCAAPMT Calculu Challenge 011 01 Challenge #3 Due: October 6, 011 A Model of Traffic Flow Everyone ha at ome time been on a multi-lane highway and encountered road contruction that required the traffic
More informationMaximum Flow 5/6/17 21:08. Presentation for use with the textbook, Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015
Maximm Flo 5/6/17 21:08 Preenaion for e ih he exbook, Algorihm Deign and Applicaion, by M. T. Goodrich and R. Tamaia, Wiley, 2015 Maximm Flo χ 4/6 4/7 1/9 2015 Goodrich and Tamaia Maximm Flo 1 Flo Neork
More informationCS 170: Midterm Exam II University of California at Berkeley Department of Electrical Engineering and Computer Sciences Computer Science Division
1 1 April 000 Demmel / Shewchuk CS 170: Midterm Exam II Univerity of California at Berkeley Department of Electrical Engineering and Computer Science Computer Science Diviion hi i a cloed book, cloed calculator,
More informationCMPS 6610/4610 Fall Flow Networks. Carola Wenk Slides adapted from slides by Charles Leiserson
CMP 6610/4610 Fall 2016 Flow Nework Carola Wenk lide adaped rom lide by Charle Leieron Max low and min c Fndamenal problem in combinaorial opimizaion Daliy beween max low and min c Many applicaion: Biparie
More informationEfficient Computation of Shortest Paths in Time-Dependent Multi-Modal Networks 1
A 1 2 Efficient Computation of Shortet Path in Time-Dependent Multi-Modal Network 1 DOMINIK KIRCHLER, LIX, École Polytechnique; LIPN, Univ. Pari 13; Mediamobile, Ivry Sur Seine LEO LIBERTI, LIX, École
More informationLinear Motion, Speed & Velocity
Add Important Linear Motion, Speed & Velocity Page: 136 Linear Motion, Speed & Velocity NGSS Standard: N/A MA Curriculum Framework (006): 1.1, 1. AP Phyic 1 Learning Objective: 3.A.1.1, 3.A.1.3 Knowledge/Undertanding
More informationAlgorithm Design and Analysis
Algorithm Deign and Analyi LECTURES 1-1 Network Flow Flow, cut Ford-Fulkeron Min-cut/max-flow theorem Adam Smith // A. Smith; baed on lide by E. Demaine, C. Leieron, S. Rakhodnikova, K. Wayne Detecting
More informationCS 4407 Algorithms Lecture: Shortest Path Algorithms
CS 440 Algorithms Lecture: Shortest Path Algorithms Prof. Gregory Provan Department of Computer Science University College Cork 1 Outline Shortest Path Problem General Lemmas and Theorems. Algorithms Bellman-Ford
More informationZ a>2 s 1n = X L - m. X L = m + Z a>2 s 1n X L = The decision rule for this one-tail test is
M09_BERE8380_12_OM_C09.QD 2/21/11 3:44 PM Page 1 9.6 The Power of a Tet 9.6 The Power of a Tet 1 Section 9.1 defined Type I and Type II error and their aociated rik. Recall that a repreent the probability
More informationSuggested Answers To Exercises. estimates variability in a sampling distribution of random means. About 68% of means fall
Beyond Significance Teting ( nd Edition), Rex B. Kline Suggeted Anwer To Exercie Chapter. The tatitic meaure variability among core at the cae level. In a normal ditribution, about 68% of the core fall
More informationμ + = σ = D 4 σ = D 3 σ = σ = All units in parts (a) and (b) are in V. (1) x chart: Center = μ = 0.75 UCL =
Our online Tutor are available 4*7 to provide Help with Proce control ytem Homework/Aignment or a long term Graduate/Undergraduate Proce control ytem Project. Our Tutor being experienced and proficient
More informationSocial Studies 201 Notes for November 14, 2003
1 Social Studie 201 Note for November 14, 2003 Etimation of a mean, mall ample ize Section 8.4, p. 501. When a reearcher ha only a mall ample ize available, the central limit theorem doe not apply to the
More informationIf Y is normally Distributed, then and 2 Y Y 10. σ σ
ull Hypothei Significance Teting V. APS 50 Lecture ote. B. Dudek. ot for General Ditribution. Cla Member Uage Only. Chi-Square and F-Ditribution, and Diperion Tet Recall from Chapter 4 material on: ( )
More informationEE Control Systems LECTURE 6
Copyright FL Lewi 999 All right reerved EE - Control Sytem LECTURE 6 Updated: Sunday, February, 999 BLOCK DIAGRAM AND MASON'S FORMULA A linear time-invariant (LTI) ytem can be repreented in many way, including:
More informationChapter Landscape of an Optimization Problem. Local Search. Coping With NP-Hardness. Gradient Descent: Vertex Cover
Coping With NP-Hardne Chapter 12 Local Search Q Suppoe I need to olve an NP-hard problem What hould I do? A Theory ay you're unlikely to find poly-time algorithm Mut acrifice one of three deired feature
More information1.1 Speed and Velocity in One and Two Dimensions
1.1 Speed and Velocity in One and Two Dienion The tudy of otion i called kineatic. Phyic Tool box Scalar quantity ha agnitude but no direction,. Vector ha both agnitude and direction,. Aerage peed i total
More informationChapter 4. Greedy Algorithms. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 4 Greedy Algorithms Slides by Kevin Wayne. Copyright Pearson-Addison Wesley. All rights reserved. 4 4.1 Interval Scheduling Interval Scheduling Interval scheduling. Job j starts at s j and finishes
More informationAlgorithm Design and Analysis
Algorihm Deign and Analyi LECTURE 0 Nework Flow Applicaion Biparie maching Edge-dijoin pah Adam Smih 0//0 A. Smih; baed on lide by E. Demaine, C. Leieron, S. Rakhodnikova, K. Wayne La ime: Ford-Fulkeron
More informationHSC PHYSICS ONLINE KINEMATICS EXPERIMENT
HSC PHYSICS ONLINE KINEMATICS EXPERIMENT RECTILINEAR MOTION WITH UNIFORM ACCELERATION Ball rolling down a ramp Aim To perform an experiment and do a detailed analyi of the numerical reult for the rectilinear
More informationarxiv: v1 [math.mg] 25 Aug 2011
ABSORBING ANGLES, STEINER MINIMAL TREES, AND ANTIPODALITY HORST MARTINI, KONRAD J. SWANEPOEL, AND P. OLOFF DE WET arxiv:08.5046v [math.mg] 25 Aug 20 Abtract. We give a new proof that a tar {op i : i =,...,
More informationConnectivity and Menger s theorems
Connectiity and Menger s theorems We hae seen a measre of connectiity that is based on inlnerability to deletions (be it tcs or edges). There is another reasonable measre of connectiity based on the mltiplicity
More informationSocial Studies 201 Notes for March 18, 2005
1 Social Studie 201 Note for March 18, 2005 Etimation of a mean, mall ample ize Section 8.4, p. 501. When a reearcher ha only a mall ample ize available, the central limit theorem doe not apply to the
More informationAlgorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)
Algorihm and Daa Srucure 2011/ Week Soluion (Tue 15h - Fri 18h No) 1. Queion: e are gien 11/16 / 15/20 8/13 0/ 1/ / 11/1 / / To queion: (a) Find a pair of ube X, Y V uch ha f(x, Y) = f(v X, Y). (b) Find
More informationCHAPTER 6. Estimation
CHAPTER 6 Etimation Definition. Statitical inference i the procedure by which we reach a concluion about a population on the bai of information contained in a ample drawn from that population. Definition.
More informationLecture 7: Testing Distributions
CSE 5: Sublinear (and Streaming) Algorithm Spring 014 Lecture 7: Teting Ditribution April 1, 014 Lecturer: Paul Beame Scribe: Paul Beame 1 Teting Uniformity of Ditribution We return today to property teting
More informationShear Stress. Horizontal Shear in Beams. Average Shear Stress Across the Width. Maximum Transverse Shear Stress. = b h
Shear Stre Due to the preence of the hear force in beam and the fact that t xy = t yx a horizontal hear force exit in the beam that tend to force the beam fiber to lide. Horizontal Shear in Beam The horizontal
More informationThe Electric Potential Energy
Lecture 6 Chapter 28 Phyic II The Electric Potential Energy Coure webite: http://aculty.uml.edu/andriy_danylov/teaching/phyicii New Idea So ar, we ued vector quantitie: 1. Electric Force (F) Depreed! 2.
More informationLecture 15 - Current. A Puzzle... Advanced Section: Image Charge for Spheres. Image Charge for a Grounded Spherical Shell
Lecture 15 - Current Puzzle... Suppoe an infinite grounded conducting plane lie at z = 0. charge q i located at a height h above the conducting plane. Show in three different way that the potential below
More informationSolved problems 4 th exercise
Soled roblem th exercie Soled roblem.. On a circular conduit there are different diameter: diameter D = m change into D = m. The elocity in the entrance rofile wa meaured: = m -. Calculate the dicharge
More informationNonlinear Single-Particle Dynamics in High Energy Accelerators
Nonlinear Single-Particle Dynamic in High Energy Accelerator Part 6: Canonical Perturbation Theory Nonlinear Single-Particle Dynamic in High Energy Accelerator Thi coure conit of eight lecture: 1. Introduction
More informationAlgorithm Design and Analysis
Algorithm Design and Analysis LECTURE 7 Network Flow Application: Bipartite Matching Adam Smith 0//008 A. Smith; based on slides by S. Raskhodnikova and K. Wayne Recently: Ford-Fulkerson Find max s-t flow
More informationChapter 7. Network Flow. CS 350: Winter 2018
Chapter 7 Network Flow CS 3: Winter 1 1 Soviet Rail Network, Reference: On the hitory of the tranportation and maximum flow problem. Alexander Schrijver in Math Programming, 1: 3,. Maximum Flow and Minimum
More informationConfusion matrices. True / False positives / negatives. INF 4300 Classification III Anne Solberg The agenda today: E.g., testing for cancer
INF 4300 Claification III Anne Solberg 29.10.14 The agenda today: More on etimating claifier accuracy Cure of dimenionality knn-claification K-mean clutering x i feature vector for pixel i i- The cla label
More informationLecture 17: Analytic Functions and Integrals (See Chapter 14 in Boas)
Lecture 7: Analytic Function and Integral (See Chapter 4 in Boa) Thi i a good point to take a brief detour and expand on our previou dicuion of complex variable and complex function of complex variable.
More informationRiemann s Functional Equation is Not Valid and its Implication on the Riemann Hypothesis. Armando M. Evangelista Jr.
Riemann Functional Equation i Not Valid and it Implication on the Riemann Hypothei By Armando M. Evangelita Jr. On November 4, 28 ABSTRACT Riemann functional equation wa formulated by Riemann that uppoedly
More informationUndirected Graphs. V = { 1, 2, 3, 4, 5, 6, 7, 8 } E = { 1-2, 1-3, 2-3, 2-4, 2-5, 3-5, 3-7, 3-8, 4-5, 5-6 } n = 8 m = 11
Undirected Graphs Undirected graph. G = (V, E) V = nodes. E = edges between pairs of nodes. Captures pairwise relationship between objects. Graph size parameters: n = V, m = E. V = {, 2, 3,,,, 7, 8 } E
More informationHandout 4.11 Solutions. Let x represent the depth of the water at any time Let V represent the volume of the pool at any time
MCBUW Handout 4. Solution. Label 0m m 8m Let repreent the depth of the water at any time Let V repreent the volume of the pool at any time V 96 96 96 The level of the water i riing at the rate of m. a).
More informationChapter 5 Consistency, Zero Stability, and the Dahlquist Equivalence Theorem
Chapter 5 Conitency, Zero Stability, and the Dahlquit Equivalence Theorem In Chapter 2 we dicued convergence of numerical method and gave an experimental method for finding the rate of convergence (aka,
More informationA Simple Example Binary Hypothesis Testing Optimal Receiver Frontend M-ary Signal Sets Message Sequences. = 4 for QPSK) E b Q 2. 2E b.
Exercie: QPSK I Find the error rate for the ignal et n (t) = p 2E /T co(2pf c t + n p/2 + p/4), for n = 0,, 3 I Anwer: (Recall h P = d min 2 E b = 4 for QPSK) E Pr{e} = 2Q Q 2 = 2Q = 2Q 2E b h P E b 2
More informationarxiv: v1 [math.co] 25 Apr 2016
On the zone complexity of a ertex Shira Zerbib arxi:604.07268 [math.co] 25 Apr 206 April 26, 206 Abstract Let L be a set of n lines in the real projectie plane in general position. We show that there exists
More informationCumulative Review of Calculus
Cumulative Review of Calculu. Uing the limit definition of the lope of a tangent, determine the lope of the tangent to each curve at the given point. a. f 5,, 5 f,, f, f 5,,,. The poition, in metre, of
More informationRiemann s Functional Equation is Not a Valid Function and Its Implication on the Riemann Hypothesis. Armando M. Evangelista Jr.
Riemann Functional Equation i Not a Valid Function and It Implication on the Riemann Hypothei By Armando M. Evangelita Jr. armando78973@gmail.com On Augut 28, 28 ABSTRACT Riemann functional equation wa
More informationSOME PROPERTIES OF CAYLEY GRAPHS OF CANCELLATIVE SEMIGROUPS
THE PUBLISHING HOUSE PROEEDINGS OF THE ROMANIAN AADEMY, Serie A, OF THE ROMANIAN AADEMY Volume 7, Number /06, pp 0 MATHEMATIS SOME PROPERTIES OF AYLEY GRAPHS OF ANELLATIVE SEMIGROUPS Bahman KHOSRAVI Qom
More informationMoment of Inertia of an Equilateral Triangle with Pivot at one Vertex
oment of nertia of an Equilateral Triangle with Pivot at one Vertex There are two wa (at leat) to derive the expreion f an equilateral triangle that i rotated about one vertex, and ll how ou both here.
More informationReinforcement Learning
Reinforcement Learning Yihay Manour Google Inc. & Tel-Aviv Univerity Outline Goal of Reinforcement Learning Mathematical Model (MDP) Planning Learning Current Reearch iue 2 Goal of Reinforcement Learning
More informationApproximating discrete probability distributions with Bayesian networks
Approximating dicrete probability ditribution with Bayeian network Jon Williamon Department of Philoophy King College, Str and, London, WC2R 2LS, UK Abtract I generalie the argument of [Chow & Liu 1968]
More informationTechnical Appendix: Auxiliary Results and Proofs
A Technical Appendix: Auxiliary Reult and Proof Lemma A. The following propertie hold for q (j) = F r [c + ( ( )) ] de- ned in Lemma. (i) q (j) >, 8 (; ]; (ii) R q (j)d = ( ) q (j) + R q (j)d ; (iii) R
More informationThe Minimal Estrada Index of Trees with Two Maximum Degree Vertices
MATCH Commnications in Mathematical and in Compter Chemistry MATCH Commn. Math. Compt. Chem. 64 (2010) 799-810 ISSN 0340-6253 The Minimal Estrada Index of Trees with Two Maximm Degree Vertices Jing Li
More informationSIMPLE LINEAR REGRESSION
SIMPLE LINEAR REGRESSION In linear regreion, we conider the frequency ditribution of one variable (Y) at each of everal level of a econd variable (). Y i known a the dependent variable. The variable for
More information1 The space of linear transformations from R n to R m :
Math 540 Spring 20 Notes #4 Higher deriaties, Taylor s theorem The space of linear transformations from R n to R m We hae discssed linear transformations mapping R n to R m We can add sch linear transformations
More informationA Full-Newton Step Primal-Dual Interior Point Algorithm for Linear Complementarity Problems *
ISSN 76-7659, England, UK Journal of Information and Computing Science Vol 5, No,, pp 35-33 A Full-Newton Step Primal-Dual Interior Point Algorithm for Linear Complementarity Problem * Lipu Zhang and Yinghong
More informationChapter 4. The Laplace Transform Method
Chapter 4. The Laplace Tranform Method The Laplace Tranform i a tranformation, meaning that it change a function into a new function. Actually, it i a linear tranformation, becaue it convert a linear combination
More informationRough Standard Neutrosophic Sets:
Netroophic et and ytem Vol 06 80 Univerity of New Meico Rogh tandard Netroophic et: n pplication on tandard Netroophic Information ytem Ngyen an Thao i Cong Cong Florentin marandache Faclty of Information
More informationActuarial Models 1: solutions example sheet 4
Actuarial Moel 1: olution example heet 4 (a) Anwer to Exercie 4.1 Q ( e u ) e σ σ u η η. (b) The forwar equation correponing to the backwar tate e are t p ee(t) σp ee (t) + ηp eu (t) t p eu(t) σp ee (t)
More informationMCB4UW Handout 4.11 Related Rates of Change
MCB4UW Handout 4. Related Rate of Change. Water flow into a rectangular pool whoe dimenion are m long, 8 m wide, and 0 m deep. If water i entering the pool at the rate of cubic metre per econd (hint: thi
More informationMatching. Slides designed by Kevin Wayne.
Maching Maching. Inpu: undireced graph G = (V, E). M E i a maching if each node appear in a mo edge in M. Max maching: find a max cardinaliy maching. Slide deigned by Kevin Wayne. Biparie Maching Biparie
More informationChapter 6. Dynamic Programming. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 6.8 Shortest Paths Shortest Paths Shortest path problem. Given a directed graph G = (V,
More informationOn the Exact Value of Packing Spheres in a Class of Orlicz Function Spaces
Jornal of Convex Analyi Volme 2004), No. 2, 39 400 On the Exact Vale of Packing Sphere in a Cla of Orlicz Fnction Space Received Jne 30, 2003 Revied mancript received October 6, 2003 Ya Qiang Yan Department
More informationSTOCHASTIC GENERALIZED TRANSPORTATION PROBLEM WITH DISCRETE DISTRIBUTION OF DEMAND
OPERATIONS RESEARCH AND DECISIONS No. 4 203 DOI: 0.5277/ord30402 Marcin ANHOLCER STOCHASTIC GENERALIZED TRANSPORTATION PROBLEM WITH DISCRETE DISTRIBUTION OF DEMAND The generalized tranportation problem
More informationLaplace Transformation
Univerity of Technology Electromechanical Department Energy Branch Advance Mathematic Laplace Tranformation nd Cla Lecture 6 Page of 7 Laplace Tranformation Definition Suppoe that f(t) i a piecewie continuou
More information6. KALMAN-BUCY FILTER
6. KALMAN-BUCY FILTER 6.1. Motivation and preliminary. A wa hown in Lecture 2, the optimal control i a function of all coordinate of controlled proce. Very often, it i not impoible to oberve a controlled
More informationDigital Control System
Digital Control Sytem - A D D A Micro ADC DAC Proceor Correction Element Proce Clock Meaurement A: Analog D: Digital Continuou Controller and Digital Control Rt - c Plant yt Continuou Controller Digital
More informationToday. Flow review. Augmenting paths. Ford-Fulkerson Algorithm. Intro to cuts (reason: prove correctness)
Today Flow review Augmenting path Ford-Fulkeron Algorithm Intro to cut (reaon: prove correctne) Flow Network = ource, t = ink. c(e) = capacity of edge e Capacity condition: f(e) c(e) Conervation condition:
More informationSource slideplayer.com/fundamentals of Analytical Chemistry, F.J. Holler, S.R.Crouch. Chapter 6: Random Errors in Chemical Analysis
Source lideplayer.com/fundamental of Analytical Chemitry, F.J. Holler, S.R.Crouch Chapter 6: Random Error in Chemical Analyi Random error are preent in every meaurement no matter how careful the experimenter.
More informationMINITAB Stat Lab 3
MINITAB Stat 20080 Lab 3. Statitical Inference In the previou lab we explained how to make prediction from a imple linear regreion model and alo examined the relationhip between the repone and predictor
More informationSome Properties of The Normalizer of o (N) on Graphs
Jornal of te Applied Matematic Statitic and Informatic (JAMSI) 4 (008) o Some Propertie of Te ormalizer of o () on Grap BAHADIR O GULER AD SERKA KADER Abtract In ti paper we give ome propertie of te normalizer
More informationConvex Hulls of Curves Sam Burton
Convex Hull of Curve Sam Burton 1 Introduction Thi paper will primarily be concerned with determining the face of convex hull of curve of the form C = {(t, t a, t b ) t [ 1, 1]}, a < b N in R 3. We hall
More informationarxiv: v1 [math.co] 25 Sep 2016
arxi:1609.077891 [math.co] 25 Sep 2016 Total domination polynomial of graphs from primary sbgraphs Saeid Alikhani and Nasrin Jafari September 27, 2016 Department of Mathematics, Yazd Uniersity, 89195-741,
More informationc n b n 0. c k 0 x b n < 1 b k b n = 0. } of integers between 0 and b 1 such that x = b k. b k c k c k
1. Exitence Let x (0, 1). Define c k inductively. Suppoe c 1,..., c k 1 are already defined. We let c k be the leat integer uch that x k An eay proof by induction give that and for all k. Therefore c n
More informationConstant Force: Projectile Motion
Contant Force: Projectile Motion Abtract In thi lab, you will launch an object with a pecific initial velocity (magnitude and direction) and determine the angle at which the range i a maximum. Other tak,
More informationPhysics 11 HW #9 Solutions
Phyic HW #9 Solution Chapter 6: ocu On Concept: 3, 8 Problem: 3,, 5, 86, 9 Chapter 7: ocu On Concept: 8, Problem:,, 33, 53, 6 ocu On Concept 6-3 (d) The amplitude peciie the maximum excurion o the pot
More informationSingular perturbation theory
Singular perturbation theory Marc R. Rouel June 21, 2004 1 Introduction When we apply the teady-tate approximation (SSA) in chemical kinetic, we typically argue that ome of the intermediate are highly
More informationProblem Fundamental relation from the equations of state
roblem.-. Fndamental relation from the eqation of tate Eqation of tate: a) o find the chemical potential, let e the Gibb-Dhem relation. Since the independent ariable are and, it i conenient to e the Gibb-Dhem
More informationProperties. Properties. Properties. Images. Key Methods. Properties. Internal nodes (other than the root) have between km and M index entries
* - + Genealizing DB Seach Tee Genealized Seach Tee fo Databae Sytem by Joeph M. Helletein, Jeffey F. Naghton, and Ai Pfeiffe Andy Danne Saa Spenkle Balanced tee High fanot Key pedicate, may oelap! " #
More information1. Intensity of Periodic Sound Waves 2. The Doppler Effect
1. Intenity o Periodic Sound Wae. The Doppler Eect 1-4-018 1 Objectie: The tudent will be able to Deine the intenity o the ound wae. Deine the Doppler Eect. Undertand ome application on ound 1-4-018 3.3
More informationMAE 113, Summer Session 1, 2009
HW #1 1., 1.7, 1.14,.3,.6 MAE 113, Summer Seion 1, 9 1. Develop the following analytical expreion for a turbojet engine: a) When m f
More informationTuning of High-Power Antenna Resonances by Appropriately Reactive Sources
Senor and Simulation Note Note 50 Augut 005 Tuning of High-Power Antenna Reonance by Appropriately Reactive Source Carl E. Baum Univerity of New Mexico Department of Electrical and Computer Engineering
More informationMEM 355 Performance Enhancement of Dynamical Systems Root Locus Analysis
MEM 355 Performance Enhancement of Dynamical Sytem Root Locu Analyi Harry G. Kwatny Department of Mechanical Engineering & Mechanic Drexel Univerity Outline The root locu method wa introduced by Evan in
More informationCorrection for Simple System Example and Notes on Laplace Transforms / Deviation Variables ECHE 550 Fall 2002
Correction for Simple Sytem Example and Note on Laplace Tranform / Deviation Variable ECHE 55 Fall 22 Conider a tank draining from an initial height of h o at time t =. With no flow into the tank (F in
More informationWarm Up. Correct order: s,u,v,y,x,w,t
Warm Up Rn Breadh Fir Search on hi graph aring from. Wha order are erice placed on he qee? When proceing a erex iner neighbor in alphabeical order. In a direced graph, BFS only follow an edge in he direcion
More informationDo Dogs Know Bifurcations?
Do Dog Know Bifurcation? Roland Minton Roanoke College Salem, VA 4153 Timothy J. Penning Hoe College Holland, MI 4943 Elvi burt uon the mathematical cene in May, 003. The econd author article "Do Dog Know
More informationMicroblog Hot Spot Mining Based on PAM Probabilistic Topic Model
MATEC Web of Conference 22, 01062 ( 2015) DOI: 10.1051/ matecconf/ 2015220106 2 C Owned by the author, publihed by EDP Science, 2015 Microblog Hot Spot Mining Baed on PAM Probabilitic Topic Model Yaxin
More informationSOME RESULTS ON INFINITE POWER TOWERS
NNTDM 16 2010) 3, 18-24 SOME RESULTS ON INFINITE POWER TOWERS Mladen Vailev - Miana 5, V. Hugo Str., Sofia 1124, Bulgaria E-mail:miana@abv.bg Abtract To my friend Kratyu Gumnerov In the paper the infinite
More informationskipping section 6.6 / 5.6 (generating permutations and combinations) concludes basic counting in Chapter 6 / 5
kiing ection 6.6 / 5.6 generating ermutation and combination conclude baic counting in Chater 6 / 5 on to Chater 7 / 6: Dicrete robability before we go to trickier counting in Chater 8 / 7 age 431-475
More informationA NEW APPROACH FOR INVESTIGATION OF MULTI MACHINE STABILITY IN A POWER SYSTEM
ISSN: 50-038 (Online) A NEW APPROACH FOR INVESTIGATION OF MULTI MACHINE STABILITY IN A POWER SYSTEM MEENAKSHI DE a, G. DAS b AND K. K. MANDAL c abc Department of Power Engineering, Jadavpr Univerity ABSTRACT
More informationUniform Acceleration Problems Chapter 2: Linear Motion
Name Date Period Uniform Acceleration Problem Chapter 2: Linear Motion INSTRUCTIONS: For thi homework, you will be drawing a coordinate axi (in math lingo: an x-y board ) to olve kinematic (motion) problem.
More informationLecture 8: Period Finding: Simon s Problem over Z N
Quantum Computation (CMU 8-859BB, Fall 205) Lecture 8: Period Finding: Simon Problem over Z October 5, 205 Lecturer: John Wright Scribe: icola Rech Problem A mentioned previouly, period finding i a rephraing
More informationMath 273 Solutions to Review Problems for Exam 1
Math 7 Solution to Review Problem for Exam True or Fale? Circle ONE anwer for each Hint: For effective tudy, explain why if true and give a counterexample if fale (a) T or F : If a b and b c, then a c
More information