DETC2004/CIE ALGORITHMIC FOUNDATIONS FOR CONSISTENCY-CHECKING OF INTERACTION-STATES OF MECHATRONIC SYSTEMS

Size: px
Start display at page:

Download "DETC2004/CIE ALGORITHMIC FOUNDATIONS FOR CONSISTENCY-CHECKING OF INTERACTION-STATES OF MECHATRONIC SYSTEMS"

Transcription

1 Proceeding of DETC 04 ASME 2004 Deign Engineering Technical Conference and Compuer and Informaion in Engineering Conference Sal Lake Ciy, Uah, USA, Sepember 28-Ocober 2, 2004 DETC2004/CIE-79 ALGORITHMIC FOUNDATIONS FOR CONSISTENCY-CHECKING OF INTERACTION-STATES OF MECHATRONIC SYSTEMS Changxin Xu Mechanical Engineering Deparmen and Iniue for Syem Reearch Univeriy of Maryland College Park, MD Sayandra K. Gupa Mechanical Engineering Deparmen and Iniue for Syem Reearch Univeriy of Maryland College Park, MD ABSTRACT In order o reduce produc developmen ime, we need ofware ool ha can perform auomaed validaion of he propoed deign concep. Thee ool will enure ha only valid deign concep are ranferred o he deailed deign age for furher developmen. Thi paper provide a ep oward he auomaed validaion of propoed deign concep. We define he problem of coniency-checking of ineracionae a a key ep in he deign concep validaion. We preen a polynomial ime algorihm for olving he ineracion coniency-checking problem. We alo preen an algorihm for analyzing inconien ineracion-ae and idenifying he inconien ineracion. We believe ha he framework decribed in hi paper will provide he underlying foundaion for conrucing he nex generaion ofware ool for concepual deign of complex mecharonic yem. Keyword: deign validaion, coniency-checking, and minimum cu of nework. INTRODUCTION Mecharonic yem are referred o a yem ha inegrae elemen from mechanical, elecrical, elecronic, and informaion domain, which are deigned o provide beer oluion han would be poible if componen from only one domain are ued [Wal0]. A muliple ineracion-ae yem i a yem in which he ineracion beween elemen of ueenvironmen and elemen of he yem can have differen ineracion opologie depending upon he mode of yem operaion and he ae of he ue-environmen. For example, conider a hybrid vehicle. While he vehicle i going down a hill, he engine i oring energy ino he baerie. While he vehicle i going up a hill, boh he baerie and he engine are providing power o he wheel. In hi cae, he ineracion opology beween yem componen (baery, engine, and wheel) i changing depending upon he ae of he ueenvironmen (e.g., uphill or downhill). Increaing he auonomy and inelligence in mecharonic yem ofen require hem o be muliple ineracion-ae yem. The produc developmen proce i uually a hierarchical proce during which alernaive are generaed and evaluaed a muliple level of abracion. In order o peed up he produc developmen proce, only valid alernaive hould be paed from a higher level o a lower level. Mo of he commercial CAD yem for mechanical produc are aiding deigner only in he deailed deign age. Compuer aided deign ool for he concepual age of mechanical deign are eiher rericed o few pecific produc or only providing imple keching funcion. Hence, ool for he auomaed validaion of propoed deign concep currenly do no exi. To faciliae compuer-aided concepual deign, we have developed a framework for modeling deign concep behind mecharonic yem wih muliple ineracion-ae [Gup04]. We conider he deigned mecharonic yem a an arifac ha inerac wih he ue-environmen o produce behavior ha aify he cuomer requiremen. The diincion beween our approach and he radiional funcional repreenaion approache for concepual deign i a follow: Correponding Auhor Copyrigh 2004 by ASME

2 We ue ineracion inead inpu/oupu flow o decribe relaionhip beween objec. Thu non-flow baed relaionhip can alo be capured. We ue ineracion-ae o capure he operaing mode of he yem. Hence we can uppor yem wih muliple ineracion-ae. Deign concep modeled uing our framework can be evaluaed and imulaed qualiaively. For example, even can be ued o imulae he deign concep. Thi capabiliy enable deigner o idenify promiing deign concep. We believe ha hi new modeling framework could have he following benefi. Fir, i provide compuer inerpreable repreenaion cheme for muli-ae mecharonic yem deign concep. Hence i provide improved uppor for deign informaion archiving and reue. Second, formal repreenaion are expeced o provide he neceary foundaion for he developmen of compuer aided evaluaion uppor during concepual deign. In order o reduce he produc developmen ime, we need ool ha can perform auomaed validaion [Chan90] of he propoed deign concep. Thee ool will enure ha only valid deign concep are ranferred o he deailed deign age for furher developmen. The imporance of hi ep can be beer underood by examining he conequence of no performing he deign validaion a he deailed deign age. For example, he produc developmen ge ignificanly delayed if non-manufacurable hape are paed from he deailed deign ep o he manufacuring ep. Similarly, paing invalid deign concep o he deailed deign age lead o unneceary delay in he produc developmen. Many ool have been developed ha can perform validaion during deailed deign. Thee ool check variou feaure in he geomeric model of he propoed deign o ae heir validiy. Thee ool are ignificanly reducing he ime o carry ou he validaion ak. We are inereed in developing validaion ool for he concepual deign age. Developing uch ool require he following hree ep. Fir we need o develop a repreenaion o model deign concep. Thi i analogou o he developmen of feaure-baed repreenaion for modeling deailed deign. The nex ep i o develop he definiion of validiy. Thi i analogou o defining wha feaure parameer will be conidered valid during he deailed deign age. For example, very hin wall or feaure wih zero-draf angle may no be conidered valid in he conex of injecion molding. Finally, we need algorihm ha can deermine if a propoed deign i no valid. Thi i analogou o he developmen of a geomeric algorihm ha can deec if he given deign conain a feaure wih zero draf angle. Thi paper provide a ep oward he auomaed validaion of a propoed deign concep. We formally define he problem of ineracion coniency-checking of ineracion ae a a key ep in he deign concep validaion. We alo preen polynomial ime algorihm for olving he ineracion coniency-checking problem and for idenifying inconien ineracion. We believe ha he framework decribed in hi paper will provide he underlying foundaion for conrucing he nex generaion ofware ool for concepual deign of complex mecharonic yem. The remainder of he paper i organized in he following manner. Secion 2 preen an overview of he modeling framework for repreening muli-ae mecharonic yem concep. Secion 2 preen alo he validaion problem formulaion and an overview of he relaed reearch. Secion 3 explain how he validaion problem can be convered ino he deerminaion of he ize of a minimum - cu problem of a nework. Secion 4 preen algorihm o olve he validaion problem along wih an analyi of he algorihm. Secion decribe he implemenaion and example. Finally, Secion preen concluding remark. 2 BACKGROUND AND PROBLEM FORMULATION 2. Overview of he modeling framework We call he reul of he concepual deign age a deign concep. A deign concep need o have he following hree main ingredien. Fir, he deign concep will need o idenify he major componen ha will be needed o mee he cuomer requiremen. Second, he deign concep will need o pecify he baic working principle behind every main componen o enure ha he componen can be fully realized. Third, he deign concep will need o pecify how he componen will inerac wih each oher. Figure how he overall concepual deign modeling framework and he main primiive ued in hi framework. The raionale behind he main primiive hown in hi figure i a follow. We need o be able o model even in he ueenvironmen o which he deign concep will repond. To enure he afey of he operaion, we need o be able o model unafe world-ae. Thee are he ae ino which he device hould never ener becaue i can caue ignifican operaional difficulie or creae hazardou condiion. For example, when he door of a machine ool i open, he pindle hould no roae. Engineering characeriic are needed o pecify he quaniaive conrain aociaed wih he operaion of he device being deigned. We need raniion diagram o model how he device (or he componen of he device) inerac wih he ue-environmen in repone o variou even in he ueenvironmen. Figure 2 how he primiive ued in defining he ineracion-ae raniion diagram. The dependency among variou primiive definiion i hown in Figure 3. The primiive a he ar of he arrow i needed for defining he primiive a he end of he arrow. In our framework, he fir ak i o define he iniial primiive of he deign world. The deign world uually include he device o be deigned and he objec in he ueenvironmen wih which he device inerac. For conrucing objec, we need o conruc aribue and aribueineracion for each objec. The device objec repond o even in he ue-environmen. Thu, given a deign problem, we hould alo define he even pace. Afer objec are creaed, we can ue hee objec o conruc a e of ineracion-ae by adding objec ineracion according o he cuomer requiremen. Afer ineracion-ae are conruced, we can define a e of ae raniion o conruc an iniial raniion diagram. Engineering characeriic hould alo be defined a par of he behavior pecificaion. Afer he iniial raniion diagram i conruced, he device objec may need o be furher decompoed uch ha hey can be realized via known 2 Copyrigh 2004 by ASME

3 Deigner Cuomer Requiremen Idenify Behavior Specificaion Behavior Specificaion Iniial Ineracion ae raniion diagram Even pace Unafe ae Engineering characeriic Concepual Deign (Performed by Elaboraion) Deign Concep Deailed Ineracion ae raniion diagram Even pace Unafe ae Figure : Uage of he modeling framework. Working principle Aribue Objec Aribue ineracion Objec ineracion Ineracion ae Sae raniion Traniion diagram Objec mapping Even pace Deign world ae Figure 2: Dependency relaionhip beween primiive. Ineracion Sae Traniion Diagram Ineracion Sae Objec Aribue Aribue-ineracion Aribue Objec Ineracion Sae Objec Aribue Objec-ineracion Objec-ineracion Traniion Ineracion Sae Traniion Aribue Aribue Aribue-ineracion Figure 3: Srucure of ineracion ae raniion diagram. 3 Copyrigh 2004 by ASME

4 working principle. The elaboraion ep mu enure ha he device deired behavior i aified. In our framework, a deign concep i defined a an ordered e coniing of he iniial behavior pecificaion, he fully elaboraed raniion diagram, he even pace, and he e of unafe world-ae. In order for a deign concep o be valid, he underlying raniion diagram will have o be valid. In order for a raniion diagram o be valid, he ineracion-ae in he raniion diagram hould only conain conien ineracion. A even pace and unafe ae have been defined, we can acually imulae he deign concep in our framework and evaluae i performance. Thi paper focue on he problem of ineracion coniency checking. An ineracion-ae i defined by a e of objec and heir invarian ineracion. Conien ineracion will enure valid ineracion ae. The relaionhip among objec are called objec ineracion. The relaionhip among aribue are called aribue ineracion. The objec ineracion hould be reolved ino aribue ineracion, herefore we only dicu aribue ineracion. The aribue ineracion are decribed by he following properie: Ineracion Reaon indicae wha caue he ineracion. I can be energy flow, ignal flow, or ma flow ha pecify flow ype of relaionhip beween aribue. Or he reaon can be paial, which indicae paial conrain among a e of componen. Furhermore, he reaon can be law, which indicae he phyical law governing he relaionhip among phyical aribue of a componen. Ineracion Type indicae wheher he ineracion i caual. For non-caual ineracion, here i no need o pecify he dependence among aribue. For example, he ineracion of he ma and he volume of an objec wih uniform deniy i a non-caual ineracion. For caual ineracion, we need o pecify he dependen relaionhip beween aribue. Paricipaing Aribue decribe he name of he aribue ha inerac. Equaion decribe he equaion behind he ineracion. From he perpecive of he governing equaion behind he relaionhip, here are wo ype of ineracion: Simple Ineracion: Thee can be modeled uing algebraic or ordinary differenial equaion. For example, he ineracion of he ma aribue and he volume aribue of an objec wih uniform deniy i given by m = dv, where m i he ma value, d i he deniy, and v i he volume of he objec. Complex Ineracion: Thee canno be modeled explicily uing equaion during concepual deign. If he imulaion of he deign concep i neceary, hen a implified numerical imulaion can be ued a a model for hee ype of ineracion. For example, he ineracion among a ligh ource, a camera, and a peron (in which he ligh from he ource reflec from he peron face and form he image a he camera len) canno be modeled by algebraic equaion or ordinary differenial equaion. However, qualiaive relaionhip can be defined beween he aribue. In he concepual deign age, deigner uually are no much concerned abou he deail of he equaion behind an aribue ineracion. Inead, hey are inereed in he qualiaive relaionhip beween aribue. 2.2 Problem formulaion Le X be he e of aribue belonging o all he objec in an ineracion-ae. Le F be he e of ineracion in ae defined over X. Each f in F i a ube of X and decribe an ineracion. During he concepual deign age we are only concerned wih he qualiaive naure of ineracion. For example, conider he hybrid car example. Le u aume we only conider major objec: engine, baery, moor, ranmiion and he wheel. The hybrid car i required o ener differen ineracion-ae when he road condiion change. When he vehicle ravel uphill or accelerae, he engine and he baery boh provide power o he wheel hrough he ranmiion and moor repecively. The road can be modeled a a ue-environmen objec. In hi cae, he ineracion-ae coni of hee objec and heir ineracion. Figure 4 graphically how he ineracion opology. Baery Moor Wheel Road Engine Tranmiion Figure 4: Example of an ineracion-ae for hybrid car. We ue he following noaion o repreen he main aribue paricipaing in he ineracion: x = Baery Power Oupu, = Moor Power Oupu, x 3 = Engine Power Oupu, x 4 = Tranmiion Power Oupu, x = Wheel Power Inpu, x = Road Slope. Then we can li he paricipaing aribue in ineracion when he vehicle i going uphill a follow: f = {x, }, = {x 3, x 4 }, f 3 = {, x 4, x }, f 4 = {x, x }, Each of he above-decribed e of aribue implie ha here exi a pecific relaionhip among he aribue in he e and hence all he aribue in he e canno be aigned value independenly. Pleae noe ha we are no concerned abou he pecific equaion ha i aociaed wih he ineracion. In mo cae, uch equaion are no available a he concepual deign age. So we are only concerned abou he e of aribue ha paricipae in an ineracion. We alo model he conrain on he value of individual aribue a e of paricipaing aribue coniing of only one member. Since here i a maximum power conrain on he engine power oupu, we have f = {x 3 }. The lope of he road i deermined by he ue-environmen; herefore we model 4 Copyrigh 2004 by ASME

5 i a f = {x }. Therefore, in hi cae we have ix variable and ix ineracion in hi ineracion-ae. We formulae he ineracion coniency problem in he following manner. Given, Se X = {x,, x n } Se F = {f,, f 3, f m }, where each f i X and F = X n m The problem of ineracion coniency i o deermine if here exi F F uch ha cardinaliy(f ) > cardinaliy( F ). If uch F exi, hen he given e of ineracion i conidered inconien. Le u conider he following example, X = {x,, x 3, x 4, x } F = {f = {x 3, x 4, x }, = {x, x 3 }, f 3 = {x, }, f 4 = {x,, x 3 }, f = {, x 3 }} Alhough here i a oal of five aribue and only five ineracion, he la four ineracion (i.e., = {x, x 3 }, f 3 = {x, }, f 4 = {x,, x 3 }, f = {, x 3 }) only involve hree variable (i.e., x,, x 3 ). Therefore, hee ineracion are overconrained. Thu, he ineracion in hi ae are inconien and hi ae i invalid. If n < m, he e of ineracion i obviouly inconien. Thu we only deal wih cae in which n m. Here we aume ha no redundan equaion will be ubequenly ued in he deailed deign age o realize he e of ineracion. A redundan equaion can be deduced from a e of oher equaion. For example, aume ha we have he following wo equaion: x + =3, + x 3 =. Then he equaion x 3 - x =2 can be derived from he fir wo equaion and hence i i a redundan equaion. If he e of ineracion i inconien, a naural problem ha arie i idenifying he ineracion ha lead o he inconiency. Deigner need o locae he ube of inconien ineracion and modify hem o enure ha he modified ineracion are conien. 2.3 Overview of our approach Given he e of ineracion, we ue he following approach o olve he problem: ) Conruc an ineracion nework from he e of ineracion. Secion 3. how how he nework i conruced. Then we how ha he coniency problem i equivalen o checking he ize of he minimum - cu problem in he ineracion nework. Secion 3.2 preen he proof for hi equivalence. 2) We ue he algorihm FINDMINIMUMSTCUTSIZE o compue he ize of he minimum - cu of he nework and find ou wheher he e of ineracion i conien. Secion 4. preen hi algorihm. If he ineracion are found o be inconien, hen we deermine he e of ineracion ha lead o inconiency. Secion 4.2 decribe he algorihm FINDINCONSISTENTINTERACTIONS defined for hi ak. 2.4 Relaed work The uual approach o olve he minimum cu problem i o ue i cloe relaionhip o he maximum flow problem. Ford and Fulkeron howed he dualiy of he maximum flow and he minimum --cu in heir famou Max-Flow-Min-Cu-Theorem [Ford]. They alo gave a imple algorihm for olving he problem. Finding a minimum cu wihou pecifying he verice o eparae can be done by finding minimum --cu for a fixed verex and all V - poible choice of V - {} and hen elecing he malle one. Goldberg and Tarjan ued puh-relabel algorihm o achieve a faer compuaion. They do no mainain a valid flow during he operaion; each node may have a poiive flow exce, and he algorihm rie o puh i o neighboring node. Many modificaion baed on hee wo ype of approache have been made o achieve faer algorihm. Algorihm ha are no baed on flow have alo been developed. Nagamochi and Ibaraki gave a procedure ha repeaedly idenifie and conrac edge ha are no in he minimum cu unil he minimum cu become apparen. I applie only o undireced graph wih non-uniform edge weigh [Naga92]. The approach by Gabow i baed on a maroid characerizaion of he minimum cu problem. According o hi characerizaion, he minimum cu in a graph i equal o he maximum number of dijoin direced panning ree ha can be found in i. Gabow algorihm find he minimum cu by finding uch ree [Gabo9]. Karger and Sein give a randomized algorihm ha find he minimum cu in an arbirarily weighed undireced graph [Karg9]. 3 MAPPING CONSISTENCY CHECKING PROBLEM TO MINIMUM S-T CUT PROBLEM IN INTERACTION NETWORK 3. Conrucion of ineracion nework We build an ineracion nework G ha decribe how ineracion F and aribue X are relaed o each oher. There are four kind of node in G: -node: Source node. -node: Sink node. x-node: Node correponding o an aribue in X. f-node: Node correponding o an ineracion in F. There are hree ype of edge in G: f-edge: Edge connecing he -node o an f-node. The capaciy of hi edge i uni. fx-edge: Edge connecing an f-node o an x-node. The capaciy of hi edge i n+ uni. x-edge: Edge connecing an x-node o he -node. The capaciy of hi edge i uni. Now we preen he algorihm for conrucing he ineracion nework G. Algorihm CONSTRUCTINTERACTIONNETWORK Inpu: Syem of ineracion F wih repec o X. There are n variable in X and m ineracion in F. Oupu: Ineracion nework G Sep: ) Creae an empy nework G. 2) Iner node ino nework G. Label hi node a - node. 3) Iner node ino nework G. Label hi node a - node. 4) Iner a node for every f F ino G. Label hee node a f-node. Creae an edge from he -node o every f- Copyrigh 2004 by ASME

6 node. Label hee edge a f-edge. Se he capaciy of every f-edge o. ) Iner a node for every x X ino G. Label hee node a x-node. Creae an edge from every x-node o he - node. Label hee edge a x-edge. Se he capaciy of every x-edge o. ) For every f, iner an edge from he f-node o an x- node if x belong o f. Label hee edge a fx-edge. Se he capaciy of every fx-edge o n+. Figure how nework G for he following aribue and ineracion: X = {x,, x 3, x 4, x } n = F = {f = {x 3, x 4, x }, = {x, x 3 }, f 3 = {x, }, f 4 = {x,, x 3 }, f = {, x 3 }} m = f f 3 f 4 f f = { x 3, x 4, x }, = { x, x 3 }, f 3 = { x, } f 4 = { x,, x 3 }, f = {, x 3 } Figure : Ineracion nework conruced from he above relaionhip. 3.2 Mapping Coniency-Checking Problem o Minimum Cu Problem In hi ecion we will how ha he ineracion coniency-checking problem can be mapped o he problem of checking he ize of he minimum - cu in nework G. Le G = (V, E) be an edge-weighed direced graph (digraph) wih a finie e of verice V and a e of ordered pair of verice, E V V, called edge. We ypically ue e or (u, v) o denoe an edge e = (u, v). c(e) i called he capaciy of e. A nework i a digraph in which wo verice are diinguihed a he ource and he arge where, and in which each edge ha a non-negaive capaciy. A flow in a nework i defined o be a funcion f ha aign a real number o each edge, ubjec o wo conrain: Flow of an edge i non-negaive and le han or equal o he capaciy; For each verex oher han he ource and he arge, he flow ino he verex equal he flow ou of i. The value of a flow i he ne flow ino he ink. Given a nework, a flow i a maximum flow provided i ha he large x x 3 x 4 x value among all flow. A direced - pah in G i a equence of verice and edge of he form, (, v ), v, (v, v 2 ), v 2,..., v k-, (v k-, ),. An - cu i a pariion of he node e V ino wo ube S and T = V-S. Alernaively, we can define a cu a he e of edge whoe endpoin belong o he differen ube S and T. A cu i referred o a an - cu if S and T. The ize of an - cu i he um of he capaciie of all he forward edge (edge from S o T) in he cu. An - cu i a minimum - cu provided i ha he malle ize among all - cu. A pah of a nework i a equence, e 0, v, e,, e k, wih, v,, V, and e 0, e,, e k E, uch ha i ar in, end in and doe no conain any verex wice. The reidual capaciy of an edge e i =(v i, v i+ ) i given by re(e i ) = c(v i, v i+ ) - f(v i, v i+ ) Given a flow nework G = (V, E) and a flow f, he reidual nework of G induced by f i G r = (V, E r ), where E r = {(u, v) V V: re(u, v)>0}. Each edge of he reidual nework, or reidual edge, can admi a ricly poiive ne flow. A reidual edge may no be an edge in E. An augmening pah wih repec o a nework G and a flow f i a imple pah from o in he reidual nework G r [Corm90]. Figure (a) and (b) illurae a nework G and he nework wih a flow value of. An augmening pah P can be formed by, (, f ), f, (f, ),, (, ),. The reidual capaciy of hi pah i he minimum re(p) = min{re((, f )), re((f, )), re((, ))}. Thu re(p) = min{2,, 4} = 2. The reidual nework for he nework wih a flow value of i hown in Figure (c). 3 /3 0/ (a): Original nework f f f 0/ 0/ / x Figure : Reidual nework x 0/ / (c): Reidual nework of he flow hown in (b) x (b): Nework wih flow = Now we preen mahemaical preliminarie ha prove ha he coniency-checking problem can be mapped o he problem of finding he ize of he minimum - cu in a nework. Lemma. The ize l* of he minimum - cu in nework G i le han or equal o he number of ineracion m. Proof: A cu of G can be creaed by elecing all edge wih an f-edge label from he nework (for example, ee edge 4 Copyrigh 2004 by ASME

7 in doed line in Figure 7). The ize of hi cu i equal o he um of he capaciie of all edge wih an f-edge label. There are m uch edge in G and he capaciy for each uch edge i uni. Therefore, he ize of hi cu i m. Therefore, we can conclude ha he ize l* of a minimum cu in G i le han or equal o m. f f 3 f 4 f f = { x 3, x 4, x }, = { x, x 3 }, f 3 = { x, } f 4 = { x,, x 3 }, f = {, x 3 } m=, n = Figure 7: A cu of he nework. Lemma 2. A minimum - cu of nework G canno conain an edge wih an fx-edge label. Proof: According o Lemma, he ize of he minimum - cu of G i le han or equal o m. Since he capaciy of fx-edge i n+, any cu ha conain an edge wih an fx-edge label mu have a ize of a lea n+. Since n m, any cu ha conain an fx-edge canno be a minimum - cu due o Lemma. Lemma 3. If he ize l* of he minimum - cu of nework G i le han m, hen he minimum cu mu conain a lea one f-edge and one x-edge. Proof: According o lemma 2, minimum - cu C* doe no conain any edge wih an fx-edge label. Le C* be a minimum - cu of G uch ha l* < m. Cu C* can be of he following hree ype: ) all edge in he cu are f-edge; 2) all edge in he cu are x-edge; 3) edge in he cu conain boh ype of edge. In cae and 2, we can find a pah from o. Therefore, C* canno be a cu. Thu only cae 3 produce a valid cu. Theorem. If here exi a ube of ineracion F F uch ha cardinaliy(f ) > cardinaliy( F ) (i.e. he number of ineracion i greaer hen he number of variable in he ineracion), hen here would exi a minimum - cu in nework G of a ize le han m. Proof: Fir le u conruc he ineracion nework a hown in Figure 8 according o algorihm CONSTRUCTINTERACTIONNETWORK. We define a he e of f-edge ha connec he -node wih f-node ha correpond o F-F, a he e of x-edge ha connec x- x x 3 x 4 x node ha correpond o F wih he -node, a he e of f-edge ha connec he -node wih f-node ha correpond o F, and a he e of x-edge ha connec x-node ha correpond o X- F wih he -node. And we define he cardinaliie of hee e of edge a he following: F- F F X- (F ) (F ) Figure 8: A cu illuraing erminology ued in Theorem. l f = cardinaliy( ), l x = cardinaliy( ), l f = cardinaliy( ), l x = cardinaliy( ) Since for every f-node F, here i only one f-edge ha connec i wih he -node, cardinaliy(f ) = cardinaliy( ), hu l f = cardinaliy(f ). Similarly, ince for every x-node F, here i only one xedge ha connec i wih he -node, cardinaliy( F ) = cardinaliy( ), hu l x = cardinaliy( F ). Cu C = i an - cu (hown in doed line in Figure 8) baed on i conrucion. We define l = cardinaliy (C). According o he conrucion of he nework, we have l f + l f = m () According o he definiion of C we have l = l f + l x We are given cardinaliy(f ) > cardinaliy( F ), ha i l f > l x (2) Hence l = l f + l x l < l f + l f (by 2) l < m (by ) Since, cardinaliy(c) < m and cardinaliy(c*) cardinaliy(c), cardinaliy(c*) < m. Figure 9 how an example furher illuraing erminology ued in hi Theorem. Theorem 2. Le C* be a minimum - cu of he ineracion nework G, and he ize of he cu l* be le han m. In hi cae here would exi F F uch ha cardinaliy(f ) > cardinaliy( F ). Proof: According o Lemma 2 and Lemma 3, he cu mu be formed in he manner hown in Figure 0. We define a he e of f-edge ha connec he -node wih f-node ha correpond o F, a he e of f-edge ha connec he - node wih f-node ha correpond o F-F, a he e of xedge ha connec x-node correponding o (F-F ) wih he -node, and a he e of x-edge ha connec x-node ha correpond o X- (F-F ) wih he -node. And we define he cardinaliie of hee e of edge a he following: l f = cardinaliy( ), l x = cardinaliy( ), l f = cardinaliy( ), l x = cardinaliy( ) 7 Copyrigh 2004 by ASME

8 F- F (F ) f f 3 f 4 f x x 3 x 4 x F X- (F ) Figure 9: An example of a cu for illuraing Theorem. F X- (F- F ) F- F (F- F ) Proof: I direcly follow from Theorem 2. Theorem 3. Le C* be a minimum cu of ize le han m. Le F be he e of f-node ha are conneced o -node by edge ha are no in C*. Le F be he e of all f-node. Then F (F-F ), cardinaliy(f ) cardinaliy ( F ). Proof: We will prove hi heorem by conradicion. Aume here exi F (F-F ) uch ha cardinaliy (F ) > cardinaliy ( F ). We define a he e of f-edge ha connec he -node wih f-node ha correpond o F-F, a he e of x-edge ha connec x-node correponding o F wih he -node, a he e of f-edge ha connec he -node wih f-node ha correpond o F, a he e of x-edge ha connec x-node ha correpond o X- F wih he -node, a he e of fedge ha connec he -node wih f-node ha correpond o F, and a he e of x-edge ha connec x-node correponding o F wih he -node. Since for every f-node F, here i only one f-edge ha connec i wih he -node, cardinaliy(f ) = cardinaliy( ). Similarly, ince for every x-node F, here i only one xedge ha connec i wih he -node, cardinaliy( F ) = cardinaliy( ). Then he aumpion can alo be repreened a cardinaliy( ) cardinaliy( ) < 0 () We eparae F from F-F a hown in Figure. Obviouly ( - ) i alo a cu C of he nework. - F-F -F X- (F ) - (F ) - Figure 0: A cu illuraing erminology ued in Theorem 2. According o he conrucion of he nework, we have l f + l f = m (3) Since cu C* =, cardinaliy (C*) = l f + l x (4) According o Lemma 3, we alo have: l f > 0 and l x >0 We are given cardinaliy (C*) < m, hu l f + l x < m (by 4) l f + l x < l f + l f (by 3) Then we have l x < l f Tha ae ha cardinaliy( ) < cardinaliy ( ) Since for every f-node F, here i only one f-edge ha connec i wih he -node, cardinaliy(f-f ) = cardinaliy( ). Similarly, ince for every x-node F, here i only one xedge ha connec i wih he -node, cardinaliy( (F-F )) = cardinaliy( ). Therefore, cardinaliy( (F-F )) < cardinaliy (F-F ). We rename (F-F ) a F, hen we have cardinaliy(f ) > cardinaliy( F ) Corollary. Le C* be a minimum - cu of ize le han m and be he e of f-edge ha are no in C*. The e of inconien ineracion i repreened by he f-node ha are conneced o he -node by edge in. F F F (F ) Figure : A cu illuraing erminology ued in Theorem 3. According o he definiion of cu, cardinaliy(c*) = cardinaliy( ) + cardinaliy( ) () cardinaliy(c ) = cardinaliy( - ) + cardinaliy( ) + cardinaliy( ) (7) cardinaliy( - ) = cardinaliy( ) cardinaliy( ) (8) Thu, cardinaliy(c ) = cardinaliy( ) cardinaliy( )+ cardinaliy( ) + cardinaliy( ) (9) (by 7 and 8) Then cardinaliy(c ) - cardinaliy(c*) = cardinaliy( ) cardinaliy( ) < 0 (by and 9) Therefore, cardinaliy (C ) < cardinaliy (C*) Thu C* i no a minimum - cu. Thi conradic wih he Theorem aemen. 8 Copyrigh 2004 by ASME

9 From he above heorem and corollary, we can conclude ha he coniency-checking problem can be olved by finding he ize of he minimum - cu of G. Theorem 3 help in enuring ha here are no oher inconien ineracion ha are no covered by Corollary. 4 ALGORITHMS FOR FINDING MINIMUM S-T CUT AND IDENTIFYING INCONSISTENT INTERACTIONS 4. Algorihm for finding minimum - cu in nework G According o he dualiy beween maximum flow problem and minimum cu problem, he ize of he minimum - cu can be found by compuing he maximum flow beween and. Our algorihm i baed on Ford and Fulkeron baic maximum flow algorihm of finding he augmening pah. Algorihm FINDMINIMUMSTCUTSIZE Inpu: A direced nework G Oupu: The ize of he minimum cu of G and he reidual nework G r of G Sep: ) Se ize of minimum cu o 0. 2) Iniialize flow of he nework, e f(e) = 0, e E. 3) Se G r = G. 4) Find an augmening pah from he -node o he -node in G r a. If a pah i found, hen i. Augmen flow along hi pah. ii. Increae he ize of he minimum cu by. iii. Generae new reidual nework G r. iv. Go o Sep 4. b. Ele, reurn he ize of he minimum cu and reidual nework. The working of hi algorihm i illuraed in Figure 2. Figure 2a how he original nework. Iniially, he reidual nework i he ame a hi nework (ee Sep 3 of he above algorihm). Figure 2b how an - pah a, (, f ), f, x, (x, ),. Sending a uni flow along hi pah will aurae he flow capaciie in edge (, f ) and (x, ) a hown in Figure 2c. The reidual nework wih repec o hi flow i hown in Figure 2d. A new pah hown in Figure 2e i found a, (, ),, (, x ), x, (x, f ), f, (f, ),, (, ),. Now we analyze he complexiy of hi algorihm. Sep can be execued in ime O(). Sep 2 can be done in ime O(E) where, E = Number of f-edge + Number of fx-edge + Number of x-edge. E ha an upper bound of n + nm + m. Thu, Sep 2 ake ime O(nm). Sep 3 ake O(V + E). Since O(V) = O(n+m), ep 3 ake O(nm). Sep 4 will be execued a mo m ime. For a deph-fir earch, Sep 4a ake ime O(E) + O() + O(V + 2E) = O(nm). Sep 4b ake O() ime. Thu in he wor cae, Sep 4 ake O(nm 2 ). Thu he wor cae ime complexiy for hi algorihm i O(nm 2 ). For he nework hown in Figure, we find he ize of he minimum - cu of he nework. In hi cae C* = 4 a hown in Figure 3. The maximum flow of he nework i alo hown in Figure 3. Since m =, he e of he ineracion i no conien. The reidual nework wih repec o he maximum flow i hown in Figure 4. Ford and Fulkeron algorihm find maximum flow by finding all he augmening pah in he nework from o and auraing he flow along he pah. However, here are everal characeriic of our problem ha can be ued o reduce he complexiy of he algorihm direcly. ) The nework in our problem i acually a pecial nework. Nework G = (V, E) ha a node e V pariioned ino wo ube V and V 2 o ha for every edge e i =(v i, v i+ ) E, eiher v i V and v i+ V 2 or v i V 2 and v i+ V. Thu any - pah follow he paern, f, x, f, x, f, x,, in which f-node and x-node appear in a pair wie manner. 2) Every f-edge and x-edge ha capaciy of. Tha mean ha once uch an edge i ued in a pah, i won be ued in anoher pah. Meanwhile, an f-node or an x-node alo can only be ued in one pah. 4.2 Algorihm for finding inconien ineracion Algorihm FINDINCONSISTENTINTERACTIONS Inpu: Ineracion reidual nework G r correponding o he maximum flow Oupu: e of f-node correponding o inconien ineracion Sep: ) Ue deph-fir earch o find all node in reidual nework G r ha are reachable from -node and pu hee node in e R. 2) Remove x-node from R and reurn R. Now we will how ha R correpond o he f-node ha are conneced o he -node by edge in a aed in Corollary. We denoe he node e ha i reachable from in G r a V, and he e of he remaining node a V 2 =V V. There i no pah in he reidual nework uch ha he -node reache he -node. Oherwie, an augmening flow could have been generaed and hence flow would have no been maximum. Thu, V and V 2. Therefore, cu C = {V, V 2 } i an - cu. Since he flow i maximum, according o he dualiy beween maximum flow and minimum cu, C i a minimum - cu [Ford]. Therefore, we conclude ha inconien ineracion can be found by finding reachable node in he reidual nework correponding o he maximum flow. Since we are only concerned abou he inconien ineracion, we remove x-node in he reachable node e. Now we analyze he complexiy of hi algorihm. For a deph-fir earch, Sep can be execued in ime O(E + V) = O(nm). Sep 2 ake ime O(n+m). Therefore, hi algorihm run in O(nm). For he nework hown in Figure, he reidual nework wih repec o he maximum flow i hown in Figure 4. Now we can find he reachable node from -node a {, f 3, f 4, f, x,, x 3 } a hown in Figure. Thu he e of ineracion node {, f 3, f 4, f } i inconien. One can eaily verify ha here are only hree variable {x,, x 3 } involved in four ineracion {, f 3, f 4, f }. IMPLEMENTATION AND EXAMPLES We have implemened he algorihm decribed in hi paper uing C++ and ha been eed on he Window 2000 plaform. We ran he program on a PC wih he following configuraion: () AMD Ahlon XP700+ CPU and (2) GB Memory. 9 Copyrigh 2004 by ASME

10 f x f x (a): Original nework (b): Pah: (, f, x, ) / 0/ f 0/ / 0/ x 0/ / f x (c): Add a flow along imple pah: (, f, x, ) (d): Reidual nework of he above nework f x (e): Anoher pah : (,, x, f,, ) Figure 2: Illuraion of algorihm FINDMINIMUMSTCUTSIZE. f 0/ x 0/ / / / / / f 3 0/ / 0/ / / / 0/ 0/ x 3 / / / 0/ f 4 0/ 0/ x 4 0/ f x Figure 3: Maximum flow of he ineracion nework. 0 Copyrigh 2004 by ASME

11 f x f 3 x 3 f 4 x 4 f x Figure 4: Reidual nework correponding o he maximum flow. f x f 3 f 4 x 3 x 4 f x Figure : Finding inconien relaionhip. Copyrigh 2004 by ASME

12 Figure how deign aleraive A behind a device baed on a planar mechanim. There are acive objec ha repreen variou link in he device (he ground objec i no couned). Every objec can be decribed by hree aribue (x, y, θ). Thee aribue preen he x and y coordinae of he cener of he objec, and i orienaion. In hi device, objec inerac wih each oher via join. We aume ha all join in hi cae are pivo join. The preence of a pivo join reduce wo degree of freedom beween wo link. Thi mean ha while (x, y, θ) aribue for one of he link can be aigned independenly, only one variable for he econd link can be aigned independenly. Therefore, a per our erminology, here are wo ineracion among objec due o he preence of he pivo join. Boh of hee ineracion involve he ame e of variable. However, he equaion behind each ineracion will be differen and can only be found afer aigning dimenional parameer o he link. A menioned before, we do no care abou he acual equaion involved bu raher he e of aribue ha paricipae in an ineracion. A Join Join B Join Join C f 7 = {θ A }, f 8 = {θ C } Then he ineracion coniency problem for hi device i formulaed a he following: X = {x A, y A, θ A, x B, y B, θ B, x C, y C, θ C, x D, y D, θ D, x E, y E, θ E, x F, y F, θ F } F = {f,, f 3,, f 8 } n = 8 and m = 8 By running our ofware, we ge he following reul: The ize of he minimum - cu i 7 < m, hu he ineracion are inconien. The e of inconien ineracion are idenified a {f,, f 3, f 4, f 3, f 4, f, f, f 7, f 8 }. Thee en ineracion only involve nine variable. Hence hi deign concep i no valid. Now le u conider anoher deign alernaive. Thi deign alernaive called alernaive B i hown in Figure 7. Thi alernaive ha he ame number of objec and join. However, he ineracion opology i differen. Ineracion in hi deign can be modeled a he following: Join B Join C Join Join Ground Join A Join Join D F Join E Join D Join F Ground Join E Join Figure : Deign alernaive A. Therefore, ineracion among objec due o he preence of join can be decribed by he following e of paricipaing aribue: f = {x A, y A, θ A, x B, y B, θ B }, = {x A, y A, θ A, x B, y B, θ B } Similarly, for oher join we ge f 3 = {x B, y B, θ B, x C, y C, θ C }, f 4 = {x B, y B, θ B, x C, y C, θ C } f = {x C, y C, θ C, x D, y D, θ D }, f = {x C, y C, θ C, x D, y D, θ D } f 7 = {x D, y D, θ D, x E, y E, θ E }, f 8 = {x D, y D, θ D, x E, y E, θ E } f 9 = {x E, y E, θ E, x F, y F, θ F }, f 0 = {x E, y E, θ E, x F, y F, θ F } f = {x F, y F, θ F, x A, y A, θ A }, = {x F, y F, θ F, x A, y A, θ A } Objec A and C are conneced o he ground via pivo join, o we need o model he following ineracion: f 3 = {x A, y A, θ A }, f 4 = {x A, y A, θ A } f = {x C, y C, θ C }, f = {x C, y C, θ C } We wan o have wo degree of freedom in hi device. Thee conrain are modeled a ineracion a well. However, only one aribue paricipae in hee wo ineracion. Therefore, we ge Figure 7: Deign alernaive B f = {x A, y A, θ A, x B, y B, θ B }, = {x A, y A, θ A, x B, y B, θ B } f 3 = {x B, y B, θ B, x C, y C, θ C }, f 4 = {x B, y B, θ B, x C, y C, θ C } f = {x C, y C, θ C, x D, y D, θ D }, f = {x C, y C, θ C, x D, y D, θ D } f 7 = {x D, y D, θ D, x E, y E, θ E }, f 8 = {x D, y D, θ D, x E, y E, θ E } f 9 = {x E, y E, θ E, x F, y F, θ F }, f 0 = {x E, y E, θ E, x F, y F, θ F } f = {x F, y F, θ F, x A, y A, θ A }, = {x F, y F, θ F, x A, y A, θ A } Objec A and objec D are conneced o he ground, o we have he following ineracion: f 3 = {x A, y A, θ A }, f 4 = {x A, y A, θ A } f = {x D, y D, θ D }, f = {x D, y D, θ D } We again wan o have wo degree of freedom in he yem. So we ge, f 7 = {θ A }, f 8 = {θ C } By running our ofware, we ge he following reul: The ize of he minimum - cu i 8 = m, hu he ineracion are conien. Thi example illurae ha he ineracion opology can have ignifican influence on he validiy of a deign concep. 2 Copyrigh 2004 by ASME

13 CONCLUSIONS The concepual deign age for mecharonic produc currenly lack compuer-uppored deign ool compared o he deailed deign age. The problem lie in he lack of formal repreenaion and evaluaion cheme. Developmen of a heoreical foundaion in he area of repreenaion of mecharonic yem concep wih muliple ineracion-ae will grealy faciliae he developmen of compuer-aided deign ool for he concepual deign age, hu reamlining he enire deign proce. Our paper preen a yemaic approach o checking he coniency of a e of ineracion in an ineracion-ae of a mecharonic yem. We alo provide an algorihm o find he e of ineracion ha caue he inconiency. During he concepual deign age, he acual equaion decribing he ineracion are uually no known. Therefore our algorihm only uilize he informaion on paricipaing aribue o carry ou i analyi. We have hown boh he oundne and compleene of our algorihm. Thi implie ha when our algorihm find a e of ineracion o be inconien, hey are acually inconien. Furhermore, when our algorihm find a e of ineracion o be conien, hey are acually conien. Even hough he coniency-checking problem ha an appearance of a combinaorial problem, we have found an algorihm ha work in polynomial ime and doe no require exhauive enumeraion. The algorihm decribed in hi paper preen a ep oward auomaed validaion of a propoed deign concep. We believe ha he framework decribed in hi paper will provide he underlying foundaion for conrucing he nex generaion ofware ool for concepual deign of complex mecharonic yem. Poible direcion for fuure exenion include: ) Minimum alernaive inconien ineracion e: Thi paper decribe an algorihm o find an inconien ineracion e. However, here could be many differen alernaive inconien ineracion e. We will need o have an algorihm ha can find he minimum e. 2) Faer algorihm: The algorihm preened in he paper are baed on claic Ford and Fulkeron algorihm. Oher reearcher have propoed many faer algorihm o find he minimum cu. We believe ha by combining ome of he approache and he pecial characeriic of he underlying ineracion nework, we hould be able o develop a much faer algorihm. 3) General Validaion Problem: Thi paper focue only on one apec of he deign validaion problem. We will need o develop algorihm for oher apec of he validaion problem uch a realizabiliy of ae raniion, and validiy of ae raniion diagram. REFERENCES [Chan90] B. Chandraekaran. Deign Problem Solving: A Tak Analyi. AI Magazine, Vol., 990. [Corm90] T. H. Cormen, C. E. Leieron and R. L. Rive. Inroducion o Algorihm. The MIT Pre, 990. [Ford] L. R. Ford Jr., and D. R. Fulkeron. Maximal Flow hrough a Nework. Can. J. Mah. 8, , 9. [Gabo9] H. N. Gabow. A Maroid Approach To Finding Edge Conneciviy And Packing Arborecence. J. Compu. Sy. Sci. 0(2):29 273, 99. [Gold88] A. V. Goldberg and R. E. Tarjan. A New Approach To The Maximum-Flow Problem. J. ACM 3:92 940, 988. [Gup04] S. K. Gupa, C. Xu and Z. Yao. A Framework For Concepual Deign of Muliple Ineracion-Sae Mecharonic Syem. In Proceeding of he Fifh Inernaional Sympoium on Tool and Mehod of Compeiive Engineering, Lauanne, Swizerland, April 3-7, [Karg9] D. R. Karger and C. Sein. A New Approach o Minimum Cu Problem. Journal of he ACM, 43(4): 0 40, July 99. [Naga92] H. Nagamochi, and T. Ibaraki. Compuing Edge Conneciviy In Muligraph And Capaciaed Graph. SIAM J. Dic. Mah. ():4, February 992. [Wal0] R. M. Waler. Overview Of The Deign And Developmen Of Mecharonic Syem. In Proceeding of he h World Muliconference on Syemic, Cyberneic and Informaic / The 7h Inernaional Conference on Informaion Syem Analyi and Synhei, Orlando, U.S.A., July 200. ACKNOWLEDGMENT The auhor graefully acknowledge he uppor provided by he Manufacuring Syem Inegraion Diviion of he Manufacuring Engineering Laboraory a NIST. Opinion expreed in hi paper are hoe of auhor and do no necearily reflec opinion of he ponor. 3 Copyrigh 2004 by ASME

1 Motivation and Basic Definitions

1 Motivation and Basic Definitions CSCE : Deign and Analyi of Algorihm Noe on Max Flow Fall 20 (Baed on he preenaion in Chaper 26 of Inroducion o Algorihm, 3rd Ed. by Cormen, Leieron, Rive and Sein.) Moivaion and Baic Definiion Conider

More information

Network Flows: Introduction & Maximum Flow

Network Flows: Introduction & Maximum Flow CSC 373 - lgorihm Deign, nalyi, and Complexiy Summer 2016 Lalla Mouaadid Nework Flow: Inroducion & Maximum Flow We now urn our aenion o anoher powerful algorihmic echnique: Local Search. In a local earch

More information

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1 Conider he following flow nework CS444/944 Analyi of Algorihm II Soluion for Aignmen (0 mark) In he following nework a minimum cu ha capaciy 0 Eiher prove ha hi aemen i rue, or how ha i i fale Uing he

More information

Algorithmic Discrete Mathematics 6. Exercise Sheet

Algorithmic Discrete Mathematics 6. Exercise Sheet Algorihmic Dicree Mahemaic. Exercie Shee Deparmen of Mahemaic SS 0 PD Dr. Ulf Lorenz 7. and 8. Juni 0 Dipl.-Mah. David Meffer Verion of June, 0 Groupwork Exercie G (Heap-Sor) Ue Heap-Sor wih a min-heap

More information

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow. CSE 202: Deign and Analyi of Algorihm Winer 2013 Problem Se 3 Inrucor: Kamalika Chaudhuri Due on: Tue. Feb 26, 2013 Inrucion For your proof, you may ue any lower bound, algorihm or daa rucure from he ex

More information

Flow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001

Flow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001 CS 545 Flow Nework lon Efra Slide courey of Charle Leieron wih mall change by Carola Wenk Flow nework Definiion. flow nework i a direced graph G = (V, E) wih wo diinguihed verice: a ource and a ink. Each

More information

Randomized Perfect Bipartite Matching

Randomized Perfect Bipartite Matching Inenive Algorihm Lecure 24 Randomized Perfec Biparie Maching Lecurer: Daniel A. Spielman April 9, 208 24. Inroducion We explain a randomized algorihm by Ahih Goel, Michael Kapralov and Sanjeev Khanna for

More information

18 Extensions of Maximum Flow

18 Extensions of Maximum Flow Who are you?" aid Lunkwill, riing angrily from hi ea. Wha do you wan?" I am Majikhie!" announced he older one. And I demand ha I am Vroomfondel!" houed he younger one. Majikhie urned on Vroomfondel. I

More information

Graphs III - Network Flow

Graphs III - Network Flow Graph III - Nework Flow Flow nework eup graph G=(V,E) edge capaciy w(u,v) 0 - if edge doe no exi, hen w(u,v)=0 pecial verice: ource verex ; ink verex - no edge ino and no edge ou of Aume every verex v

More information

Main Reference: Sections in CLRS.

Main Reference: Sections in CLRS. Maximum Flow Reied 09/09/200 Main Reference: Secion 26.-26. in CLRS. Inroducion Definiion Muli-Source Muli-Sink The Ford-Fulkeron Mehod Reidual Nework Augmening Pah The Max-Flow Min-Cu Theorem The Edmond-Karp

More information

4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network

4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network // Applicaion of he Maxflow Problem. Biparie Maching Biparie Maching Biparie maching. Inpu: undireced, biparie graph = (, E). M E i a maching if each node appear in a mo one edge in M. Max maching: find

More information

Algorithm Design and Analysis

Algorithm 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 information

Admin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t)

Admin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t) /0/ dmin lunch oday rading MX LOW PPLIION 0, pring avid Kauchak low graph/nework low nework direced, weighed graph (V, ) poiive edge weigh indicaing he capaciy (generally, aume ineger) conain a ingle ource

More information

CSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it

CSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it CSC 36S Noe Univeriy of Torono, Spring, 2003 Flow Algorihm The nework we will conider are direced graph, where each edge ha aociaed wih i a nonnegaive capaciy. The inuiion i ha if edge (u; v) ha capaciy

More information

Network Flow. Data Structures and Algorithms Andrei Bulatov

Network Flow. Data Structures and Algorithms Andrei Bulatov Nework Flow Daa Srucure and Algorihm Andrei Bulao Algorihm Nework Flow 24-2 Flow Nework Think of a graph a yem of pipe We ue hi yem o pump waer from he ource o ink Eery pipe/edge ha limied capaciy Flow

More information

Matching. Slides designed by Kevin Wayne.

Matching. 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 information

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

The Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,

More information

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm

The Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,

More information

Max Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.

Max Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network. Sovie Rail Nework, Max Flow, Min u OS Kevin Wayne Fall Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming, :,. Minimum u Problem u Flow nework.! Digraph

More information

To become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship

To become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship Laplace Tranform (Lin & DeCarlo: Ch 3) ENSC30 Elecric Circui II The Laplace ranform i an inegral ranformaion. I ranform: f ( ) F( ) ime variable complex variable From Euler > Lagrange > Laplace. Hence,

More information

Introduction to Congestion Games

Introduction to Congestion Games Algorihmic Game Theory, Summer 2017 Inroducion o Congeion Game Lecure 1 (5 page) Inrucor: Thoma Keelheim In hi lecure, we ge o know congeion game, which will be our running example for many concep in game

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 31 Signal & Syem Prof. Mark Fowler Noe Se #27 C-T Syem: Laplace Tranform Power Tool for yem analyi Reading Aignmen: Secion 6.1 6.3 of Kamen and Heck 1/18 Coure Flow Diagram The arrow here how concepual

More information

u(t) Figure 1. Open loop control system

u(t) Figure 1. Open loop control system Open loop conrol v cloed loop feedbac conrol The nex wo figure preen he rucure of open loop and feedbac conrol yem Figure how an open loop conrol yem whoe funcion i o caue he oupu y o follow he reference

More information

MAXIMUM FLOW. introduction Ford-Fulkerson algorithm maxflow-mincut theorem

MAXIMUM FLOW. introduction Ford-Fulkerson algorithm maxflow-mincut theorem MAXIMUM FLOW inroducion Ford-Fulkeron algorihm maxflow-mincu heorem Mincu problem Inpu. An edge-weighed digraph, ource verex, and arge verex. each edge ha a poiive capaciy capaciy 9 10 4 15 15 10 5 8 10

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorihm Deign and Analyi LECTURES 17 Nework Flow Dualiy of Max Flow and Min Cu Algorihm: Ford-Fulkeron Capaciy Scaling Sofya Rakhodnikova S. Rakhodnikova; baed on lide by E. Demaine, C. Leieron, A. Smih,

More information

Network Flows UPCOPENCOURSEWARE number 34414

Network Flows UPCOPENCOURSEWARE number 34414 Nework Flow UPCOPENCOURSEWARE number Topic : F.-Javier Heredia Thi work i licened under he Creaive Common Aribuion- NonCommercial-NoDeriv. Unpored Licene. To view a copy of hi licene, vii hp://creaivecommon.org/licene/by-nc-nd/./

More information

CS 473G Lecture 15: Max-Flow Algorithms and Applications Fall 2005

CS 473G Lecture 15: Max-Flow Algorithms and Applications Fall 2005 CS 473G Lecure 1: Max-Flow Algorihm and Applicaion Fall 200 1 Max-Flow Algorihm and Applicaion (November 1) 1.1 Recap Fix a direced graph G = (V, E) ha doe no conain boh an edge u v and i reveral v u,

More information

CHAPTER 7: SECOND-ORDER CIRCUITS

CHAPTER 7: SECOND-ORDER CIRCUITS EEE5: CI RCUI T THEORY CHAPTER 7: SECOND-ORDER CIRCUITS 7. Inroducion Thi chaper conider circui wih wo orage elemen. Known a econd-order circui becaue heir repone are decribed by differenial equaion ha

More information

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques Algorihm Deign Technique CS : Nework Flow Dan Sheldon April, reedy Divide and Conquer Dynamic Programming Nework Flow Comparion Nework Flow Previou opic: deign echnique reedy Divide and Conquer Dynamic

More information

Chapter 7: Inverse-Response Systems

Chapter 7: Inverse-Response Systems Chaper 7: Invere-Repone Syem Normal Syem Invere-Repone Syem Baic Sar ou in he wrong direcion End up in he original eady-ae gain value Two or more yem wih differen magniude and cale in parallel Main yem

More information

Soviet Rail Network, 1955

Soviet Rail Network, 1955 7.1 Nework Flow Sovie Rail Nework, 19 Reerence: On he hiory o he ranporaion and maximum low problem. lexander Schrijver in Mah Programming, 91: 3, 00. (See Exernal Link ) Maximum Flow and Minimum Cu Max

More information

2. VECTORS. R Vectors are denoted by bold-face characters such as R, V, etc. The magnitude of a vector, such as R, is denoted as R, R, V

2. VECTORS. R Vectors are denoted by bold-face characters such as R, V, etc. The magnitude of a vector, such as R, is denoted as R, R, V ME 352 VETS 2. VETS Vecor algebra form he mahemaical foundaion for kinemaic and dnamic. Geomer of moion i a he hear of boh he kinemaic and dnamic of mechanical em. Vecor anali i he imehonored ool for decribing

More information

Maximum Flow and Minimum Cut

Maximum Flow and Minimum Cut // Sovie Rail Nework, Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy. Nework Flow Flow nework.

More information

CSE 521: Design & Analysis of Algorithms I

CSE 521: Design & Analysis of Algorithms I CSE 52: Deign & Analyi of Algorihm I Nework Flow Paul Beame Biparie Maching Given: A biparie graph G=(V,E) M E i a maching in G iff no wo edge in M hare a verex Goal: Find a maching M in G of maximum poible

More information

Soviet Rail Network, 1955

Soviet Rail Network, 1955 Sovie Rail Nework, 1 Reference: On he hiory of he ranporaion and maximum flow problem. Alexander Schrijver in Mah Programming, 1: 3,. Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic

More information

Flow networks, flow, maximum flow. Some definitions. Edmonton. Saskatoon Winnipeg. Vancouver Regina. Calgary. 12/12 a.

Flow networks, flow, maximum flow. Some definitions. Edmonton. Saskatoon Winnipeg. Vancouver Regina. Calgary. 12/12 a. Flow nework, flow, maximum flow Can inerpre direced graph a flow nework. Maerial coure hrough ome yem from ome ource o ome ink. Source produce maerial a ome eady rae, ink conume a ame rae. Example: waer

More information

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)

Algorithms 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 information

Reminder: Flow Networks

Reminder: Flow Networks 0/0/204 Ma/CS 6a Cla 4: Variou (Flow) Execie Reminder: Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Civil and Environmental Engineering

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Civil and Environmental Engineering MASSACHUSETTS INSTITUTE OF TECHNOLOGY Deparmen of Civil and Environmenal Engineering 1.731 Waer Reource Syem Lecure 17 River Bain Planning Screening Model Nov. 7 2006 River Bain Planning River bain planning

More information

Notes on cointegration of real interest rates and real exchange rates. ρ (2)

Notes on cointegration of real interest rates and real exchange rates. ρ (2) Noe on coinegraion of real inere rae and real exchange rae Charle ngel, Univeriy of Wiconin Le me ar wih he obervaion ha while he lieraure (mo prominenly Meee and Rogoff (988) and dion and Paul (993))

More information

16 Max-Flow Algorithms and Applications

16 Max-Flow Algorithms and Applications Algorihm A proce canno be underood by opping i. Underanding mu move wih he flow of he proce, mu join i and flow wih i. The Fir Law of Mena, in Frank Herber Dune (196) There a difference beween knowing

More information

5.2 GRAPHICAL VELOCITY ANALYSIS Polygon Method

5.2 GRAPHICAL VELOCITY ANALYSIS Polygon Method ME 352 GRHICL VELCITY NLYSIS 52 GRHICL VELCITY NLYSIS olygon Mehod Velociy analyi form he hear of kinemaic and dynamic of mechanical yem Velociy analyi i uually performed following a poiion analyi; ie,

More information

Today: Max Flow Proofs

Today: Max Flow Proofs Today: Max Flow Proof COSC 58, Algorihm March 4, 04 Many of hee lide are adaped from everal online ource Reading Aignmen Today cla: Chaper 6 Reading aignmen for nex cla: Chaper 7 (Amorized analyi) In-Cla

More information

Flow Networks. Ma/CS 6a. Class 14: Flow Exercises

Flow Networks. Ma/CS 6a. Class 14: Flow Exercises 0/0/206 Ma/CS 6a Cla 4: Flow Exercie Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d e Sink 0/0/206 Flow

More information

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max

, the. L and the L. x x. max. i n. It is easy to show that these two norms satisfy the following relation: x x n x = (17.3) max ecure 8 7. Sabiliy Analyi For an n dimenional vecor R n, he and he vecor norm are defined a: = T = i n i (7.) I i eay o how ha hee wo norm aify he following relaion: n (7.) If a vecor i ime-dependen, hen

More information

ARTIFICIAL INTELLIGENCE. Markov decision processes

ARTIFICIAL INTELLIGENCE. Markov decision processes INFOB2KI 2017-2018 Urech Univeriy The Neherland ARTIFICIAL INTELLIGENCE Markov deciion procee Lecurer: Silja Renooij Thee lide are par of he INFOB2KI Coure Noe available from www.c.uu.nl/doc/vakken/b2ki/chema.hml

More information

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges.

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges. Sovie Rail Nework, haper Nework Flow Slide by Kevin Wayne. opyrigh Pearon-ddion Weley. ll righ reerved. Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming,

More information

Discussion Session 2 Constant Acceleration/Relative Motion Week 03

Discussion Session 2 Constant Acceleration/Relative Motion Week 03 PHYS 100 Dicuion Seion Conan Acceleraion/Relaive Moion Week 03 The Plan Today you will work wih your group explore he idea of reference frame (i.e. relaive moion) and moion wih conan acceleraion. You ll

More information

Average Case Lower Bounds for Monotone Switching Networks

Average Case Lower Bounds for Monotone Switching Networks Average Cae Lower Bound for Monoone Swiching Nework Yuval Filmu, Toniann Piai, Rober Robere, Sephen Cook Deparmen of Compuer Science Univeriy of Torono Monoone Compuaion (Refreher) Monoone circui were

More information

Today s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions

Today s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions Today opic CSE Algorihm Richard Anderon Lecure Nework Flow Applicaion Prolem Reducion Undireced Flow o Flow Biparie Maching Dijoin Pah Prolem Circulaion Loweround conrain on flow Survey deign Prolem Reducion

More information

They were originally developed for network problem [Dantzig, Ford, Fulkerson 1956]

They were originally developed for network problem [Dantzig, Ford, Fulkerson 1956] 6. Inroducion... 6. The primal-dual algorihmn... 6 6. Remark on he primal-dual algorihmn... 7 6. A primal-dual algorihmn for he hore pah problem... 8... 9 6.6 A primal-dual algorihmn for he weighed maching

More information

6.8 Laplace Transform: General Formulas

6.8 Laplace Transform: General Formulas 48 HAP. 6 Laplace Tranform 6.8 Laplace Tranform: General Formula Formula Name, ommen Sec. F() l{ f ()} e f () d f () l {F()} Definiion of Tranform Invere Tranform 6. l{af () bg()} al{f ()} bl{g()} Lineariy

More information

26.1 Flow networks. f (u,v) = 0.

26.1 Flow networks. f (u,v) = 0. 26 Maimum Flow Ju a we can model a road map a a direced graph in order o find he hore pah from one poin o anoher, we can alo inerpre a direced graph a a flow nework and ue i o anwer queion abou maerial

More information

6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem.

6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem. Maximum Flow and Minimum Cu CS lgorihm Deign Inrucor: rur Czumaj Lecure Nework Max and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy.

More information

arxiv: v1 [cs.cg] 21 Mar 2013

arxiv: v1 [cs.cg] 21 Mar 2013 On he rech facor of he Thea-4 graph Lui Barba Proenji Boe Jean-Lou De Carufel André van Renen Sander Verdoncho arxiv:1303.5473v1 [c.cg] 21 Mar 2013 Abrac In hi paper we how ha he θ-graph wih 4 cone ha

More information

CONTROL SYSTEMS. Chapter 10 : State Space Response

CONTROL SYSTEMS. Chapter 10 : State Space Response CONTROL SYSTEMS Chaper : Sae Space Repone GATE Objecive & Numerical Type Soluion Queion 5 [GATE EE 99 IIT-Bombay : Mark] Conider a econd order yem whoe ae pace repreenaion i of he form A Bu. If () (),

More information

Vehicle Arrival Models : Headway

Vehicle Arrival Models : Headway Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where

More information

Basic Tools CMSC 641. Running Time. Problem. Problem. Algorithmic Design Paradigms. lg (n!) (lg n)! (lg n) lgn n.2

Basic Tools CMSC 641. Running Time. Problem. Problem. Algorithmic Design Paradigms. lg (n!) (lg n)! (lg n) lgn n.2 Baic Tool CMSC April, Review Aympoic Noaion Order of Growh Recurrence relaion Daa Srucure Li, Heap, Graph, Tree, Balanced Tree, Hah Table Advanced daa rucure: Binomial Heap, Fibonacci Heap Soring Mehod

More information

EE Control Systems LECTURE 2

EE Control Systems LECTURE 2 Copyrigh F.L. Lewi 999 All righ reerved EE 434 - Conrol Syem LECTURE REVIEW OF LAPLACE TRANSFORM LAPLACE TRANSFORM The Laplace ranform i very ueful in analyi and deign for yem ha are linear and ime-invarian

More information

Sample Final Exam (finals03) Covering Chapters 1-9 of Fundamentals of Signals & Systems

Sample Final Exam (finals03) Covering Chapters 1-9 of Fundamentals of Signals & Systems Sample Final Exam Covering Chaper 9 (final04) Sample Final Exam (final03) Covering Chaper 9 of Fundamenal of Signal & Syem Problem (0 mar) Conider he caual opamp circui iniially a re depiced below. I LI

More information

Let. x y. denote a bivariate time series with zero mean.

Let. x y. denote a bivariate time series with zero mean. Linear Filer Le x y : T denoe a bivariae ime erie wih zero mean. Suppoe ha he ime erie {y : T} i conruced a follow: y a x The ime erie {y : T} i aid o be conruced from {x : T} by mean of a Linear Filer.

More information

13.1 Circuit Elements in the s Domain Circuit Analysis in the s Domain The Transfer Function and Natural Response 13.

13.1 Circuit Elements in the s Domain Circuit Analysis in the s Domain The Transfer Function and Natural Response 13. Chaper 3 The Laplace Tranform in Circui Analyi 3. Circui Elemen in he Domain 3.-3 Circui Analyi in he Domain 3.4-5 The Tranfer Funcion and Naural Repone 3.6 The Tranfer Funcion and he Convoluion Inegral

More information

April 3, The maximum flow problem. See class notes on website.

April 3, The maximum flow problem. See class notes on website. 5.05 April, 007 The maximum flow problem See cla noe on webie. Quoe of he day You ge he maxx for he minimum a TJ Maxx. -- ad for a clohing ore Thi wa he mo unkinde cu of all -- Shakepeare in Juliu Caear

More information

Laplace Transform. Inverse Laplace Transform. e st f(t)dt. (2)

Laplace Transform. Inverse Laplace Transform. e st f(t)dt. (2) Laplace Tranform Maoud Malek The Laplace ranform i an inegral ranform named in honor of mahemaician and aronomer Pierre-Simon Laplace, who ued he ranform in hi work on probabiliy heory. I i a powerful

More information

6.302 Feedback Systems Recitation : Phase-locked Loops Prof. Joel L. Dawson

6.302 Feedback Systems Recitation : Phase-locked Loops Prof. Joel L. Dawson 6.32 Feedback Syem Phae-locked loop are a foundaional building block for analog circui deign, paricularly for communicaion circui. They provide a good example yem for hi cla becaue hey are an excellen

More information

Physics 240: Worksheet 16 Name

Physics 240: Worksheet 16 Name Phyic 4: Workhee 16 Nae Non-unifor circular oion Each of hee proble involve non-unifor circular oion wih a conan α. (1) Obain each of he equaion of oion for non-unifor circular oion under a conan acceleraion,

More information

Please Complete Course Survey. CMPSCI 311: Introduction to Algorithms. Approximation Algorithms. Coping With NP-Completeness. Greedy Vertex Cover

Please Complete Course Survey. CMPSCI 311: Introduction to Algorithms. Approximation Algorithms. Coping With NP-Completeness. Greedy Vertex Cover Pleae Complee Coure Survey CMPSCI : Inroducion o Algorihm Dealing wih NP-Compleene Dan Sheldon hp: //owl.oi.uma.edu/parner/coureevalsurvey/uma/ Univeriy of Maachue Slide Adaped from Kevin Wayne La Compiled:

More information

Introduction to SLE Lecture Notes

Introduction to SLE Lecture Notes Inroducion o SLE Lecure Noe May 13, 16 - The goal of hi ecion i o find a ufficien condiion of λ for he hull K o be generaed by a imple cure. I urn ou if λ 1 < 4 hen K i generaed by a imple curve. We will

More information

Mechtild Stoer * Frank Wagner** Abstract. fastest algorithm known. The runtime analysis is straightforward. In contrast to

Mechtild Stoer * Frank Wagner** Abstract. fastest algorithm known. The runtime analysis is straightforward. In contrast to SERIE B INFORMATIK A Simple Min Cu Algorihm Mechild Soer * Frank Wagner** B 9{1 May 199 Abrac We preen an algorihm for nding he minimum cu of an edge-weighed graph. I i imple in every repec. I ha a hor

More information

Performance Comparison of LCMV-based Space-time 2D Array and Ambiguity Problem

Performance Comparison of LCMV-based Space-time 2D Array and Ambiguity Problem Inernaional journal of cience Commerce and umaniie Volume No 2 No 3 April 204 Performance Comparion of LCMV-baed pace-ime 2D Arra and Ambigui Problem 2 o uan Chang and Jin hinghia Deparmen of Communicaion

More information

NECESSARY AND SUFFICIENT CONDITIONS FOR LATENT SEPARABILITY

NECESSARY AND SUFFICIENT CONDITIONS FOR LATENT SEPARABILITY NECESSARY AND SUFFICIENT CONDITIONS FOR LATENT SEPARABILITY Ian Crawford THE INSTITUTE FOR FISCAL STUDIES DEPARTMENT OF ECONOMICS, UCL cemmap working paper CWP02/04 Neceary and Sufficien Condiion for Laen

More information

23 Maximum Flows and Minimum Cuts

23 Maximum Flows and Minimum Cuts A proce canno be underood by opping i. Underanding mu move wih he flow of he proce, mu join i and flow wih i. The Fir Law of Mena, in Frank Herber Dune (196) Conrary o expecaion, flow uually happen no

More information

Stability in Distribution for Backward Uncertain Differential Equation

Stability in Distribution for Backward Uncertain Differential Equation Sabiliy in Diribuion for Backward Uncerain Differenial Equaion Yuhong Sheng 1, Dan A. Ralecu 2 1. College of Mahemaical and Syem Science, Xinjiang Univeriy, Urumqi 8346, China heng-yh12@mail.inghua.edu.cn

More information

The multisubset sum problem for finite abelian groups

The multisubset sum problem for finite abelian groups Alo available a hp://amc-journal.eu ISSN 1855-3966 (prined edn.), ISSN 1855-3974 (elecronic edn.) ARS MATHEMATICA CONTEMPORANEA 8 (2015) 417 423 The muliube um problem for finie abelian group Amela Muraović-Ribić

More information

Selfish Routing and the Price of Anarchy. Tim Roughgarden Cornell University

Selfish Routing and the Price of Anarchy. Tim Roughgarden Cornell University Selfih Rouing and he Price of Anarchy Tim Roughgarden Cornell Univeriy 1 Algorihm for Self-Inereed Agen Our focu: problem in which muliple agen (people, compuer, ec.) inerac Moivaion: he Inerne decenralized

More information

How to Solve System Dynamic s Problems

How to Solve System Dynamic s Problems How o Solve Sye Dynaic Proble A ye dynaic proble involve wo or ore bodie (objec) under he influence of everal exernal force. The objec ay uliaely re, ove wih conan velociy, conan acceleraion or oe cobinaion

More information

Computer-Aided Analysis of Electronic Circuits Course Notes 3

Computer-Aided Analysis of Electronic Circuits Course Notes 3 Gheorghe Asachi Technical Universiy of Iasi Faculy of Elecronics, Telecommunicaions and Informaion Technologies Compuer-Aided Analysis of Elecronic Circuis Course Noes 3 Bachelor: Telecommunicaion Technologies

More information

Algorithms. Algorithms 6.4 MAXIMUM FLOW

Algorithms. Algorithms 6.4 MAXIMUM FLOW Algorihm ROBERT SEDGEWICK KEVIN WAYNE 6.4 MAXIMUM FLOW Algorihm F O U R T H E D I T I O N ROBERT SEDGEWICK KEVIN WAYNE hp://alg4.c.princeon.edu inroducion Ford Fulkeron algorihm maxflow mincu heorem analyi

More information

Maximum Flow in Planar Graphs

Maximum Flow in Planar Graphs Maximum Flow in Planar Graph Planar Graph and i Dual Dualiy i defined for direced planar graph a well Minimum - cu in undireced planar graph An - cu (undireced graph) An - cu The dual o he cu Cu/Cycle

More information

STATE-SPACE MODELLING. A mass balance across the tank gives:

STATE-SPACE MODELLING. A mass balance across the tank gives: B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing

More information

EE202 Circuit Theory II

EE202 Circuit Theory II EE202 Circui Theory II 2017-2018, Spring Dr. Yılmaz KALKAN I. Inroducion & eview of Fir Order Circui (Chaper 7 of Nilon - 3 Hr. Inroducion, C and L Circui, Naural and Sep epone of Serie and Parallel L/C

More information

Buckling of a structure means failure due to excessive displacements (loss of structural stiffness), and/or

Buckling of a structure means failure due to excessive displacements (loss of structural stiffness), and/or Buckling Buckling of a rucure mean failure due o exceive diplacemen (lo of rucural iffne), and/or lo of abiliy of an equilibrium configuraion of he rucure The rule of humb i ha buckling i conidered a mode

More information

Angular Motion, Speed and Velocity

Angular Motion, Speed and Velocity Add Imporan Angular Moion, Speed and Velociy Page: 163 Noe/Cue Here Angular Moion, Speed and Velociy NGSS Sandard: N/A MA Curriculum Framework (006): 1.1, 1. AP Phyic 1 Learning Objecive: 3.A.1.1, 3.A.1.3

More information

Selfish Routing. Tim Roughgarden Cornell University. Includes joint work with Éva Tardos

Selfish Routing. Tim Roughgarden Cornell University. Includes joint work with Éva Tardos Selfih Rouing Tim Roughgarden Cornell Univeriy Include join work wih Éva Tardo 1 Which roue would you chooe? Example: one uni of raffic (e.g., car) wan o go from o delay = 1 hour (no congeion effec) long

More information

Price of Stability and Introduction to Mechanism Design

Price of Stability and Introduction to Mechanism Design Algorihmic Game Theory Summer 2017, Week 5 ETH Zürich Price of Sabiliy and Inroducion o Mechanim Deign Paolo Penna Thi i he lecure where we ar deigning yem which involve elfih player. Roughly peaking,

More information

What is maximum Likelihood? History Features of ML method Tools used Advantages Disadvantages Evolutionary models

What is maximum Likelihood? History Features of ML method Tools used Advantages Disadvantages Evolutionary models Wha i maximum Likelihood? Hiory Feaure of ML mehod Tool ued Advanage Diadvanage Evoluionary model Maximum likelihood mehod creae all he poible ree conaining he e of organim conidered, and hen ue he aiic

More information

Lecture 26. Lucas and Stokey: Optimal Monetary and Fiscal Policy in an Economy without Capital (JME 1983) t t

Lecture 26. Lucas and Stokey: Optimal Monetary and Fiscal Policy in an Economy without Capital (JME 1983) t t Lecure 6. Luca and Sokey: Opimal Moneary and Fical Policy in an Economy wihou Capial (JME 983. A argued in Kydland and Preco (JPE 977, Opimal governmen policy i likely o be ime inconien. Fiher (JEDC 98

More information

18.03SC Unit 3 Practice Exam and Solutions

18.03SC Unit 3 Practice Exam and Solutions Sudy Guide on Sep, Dela, Convoluion, Laplace You can hink of he ep funcion u() a any nice mooh funcion which i for < a and for > a, where a i a poiive number which i much maller han any ime cale we care

More information

Maximum Network Lifetime in Wireless Sensor Networks with Adjustable Sensing Ranges

Maximum Network Lifetime in Wireless Sensor Networks with Adjustable Sensing Ranges 1 Maximum Nework Lifeime in Wirele Senor Nework wih Adjuable Sening Range Mihaela Cardei, Jie Wu, Mingming Lu, and Mohammad O. Pervaiz Abrac Thi paper addree he arge coverage problem in wirele enor nework

More information

The Primal Simplex Approach to the QoS Routing Problem

The Primal Simplex Approach to the QoS Routing Problem The Primal Simplex Approach o he QoS Rouing Problem Ying Xiao, Krihnaiyan Thulairaman Univeriy of Oklahoma, Norman, OK {ying_xiao, hulai}@ou.edu Guoliang Xue Arizona Sae Univeriy, Tempe, AZ xue@au.edu

More information

Geometric Path Problems with Violations

Geometric Path Problems with Violations Click here o view linked Reference 1 1 1 0 1 0 1 0 1 0 1 Geomeric Pah Problem wih Violaion Anil Mahehwari 1, Subha C. Nandy, Drimi Paanayak, Saanka Roy and Michiel Smid 1 1 School of Compuer Science, Carleon

More information

Analyze patterns and relationships. 3. Generate two numerical patterns using AC

Analyze patterns and relationships. 3. Generate two numerical patterns using AC envision ah 2.0 5h Grade ah Curriculum Quarer 1 Quarer 2 Quarer 3 Quarer 4 andards: =ajor =upporing =Addiional Firs 30 Day 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 andards: Operaions and Algebraic Thinking

More information

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17 EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive

More information

Longest Common Prefixes

Longest Common Prefixes Longes Common Prefixes The sandard ordering for srings is he lexicographical order. I is induced by an order over he alphabe. We will use he same symbols (,

More information

FUZZY n-inner PRODUCT SPACE

FUZZY n-inner PRODUCT SPACE Bull. Korean Mah. Soc. 43 (2007), No. 3, pp. 447 459 FUZZY n-inner PRODUCT SPACE Srinivaan Vijayabalaji and Naean Thillaigovindan Reprined from he Bullein of he Korean Mahemaical Sociey Vol. 43, No. 3,

More information

Network Flow Applications

Network Flow Applications Hopial problem Neork Flo Applicaion Injured people: n Hopial: k Each peron need o be brough o a hopial no more han 30 minue aay Each hopial rea no more han n/k" people Gien n, k, and informaion abou people

More information

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power

Learning a Class from Examples. Training set X. Class C 1. Class C of a family car. Output: Input representation: x 1 : price, x 2 : engine power Alpaydin Chaper, Michell Chaper 7 Alpaydin slides are in urquoise. Ehem Alpaydin, copyrigh: The MIT Press, 010. alpaydin@boun.edu.r hp://www.cmpe.boun.edu.r/ ehem/imle All oher slides are based on Michell.

More information

Maximum Flow. Contents. Max Flow Network. Maximum Flow and Minimum Cut

Maximum Flow. Contents. Max Flow Network. Maximum Flow and Minimum Cut Conen Maximum Flow Conen. Maximum low problem. Minimum cu problem. Max-low min-cu heorem. Augmening pah algorihm. Capaciy-caling. Shore augmening pah. Princeon Univeriy COS Theory o Algorihm Spring Kevin

More information

TRADITIONAL. MAP: Multi-Constrained Anypath Routing in Wireless Mesh Networks. 1 Introduction

TRADITIONAL. MAP: Multi-Constrained Anypath Routing in Wireless Mesh Networks. 1 Introduction MAP: Muli-Conrained Anypah Rouing in Wirele Meh Nework Xi Fang, Member, IEEE, Dejun Yang, Member, IEEE, and Guoliang Xue, Fellow, IEEE Abrac Anypah rouing ha been propoed o improve he performance of unreliable

More information

CHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK

CHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK 175 CHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK 10.1 INTRODUCTION Amongs he research work performed, he bes resuls of experimenal work are validaed wih Arificial Neural Nework. From he

More information