Conversion of Binary Space Partitioning Trees. to Boundary Representation. Abstract. Binary Space Partitioning Trees (BSP-Trees) have been proposed

Size: px
Start display at page:

Download "Conversion of Binary Space Partitioning Trees. to Boundary Representation. Abstract. Binary Space Partitioning Trees (BSP-Trees) have been proposed"

Transcription

1 Conversion o Bry Spe Prtitiong Trees to Bounry Representtion Jo~o Com 1 n Brue Nylor 2 1 Computer Siene Deprtment, Stnor University, USA? 2 Sptil Ls, In.?? Astrt. Bry Spe Prtitiong Trees (BSP-Trees) hve een propose s n lterntive wy to represent polytopes se on the sptil suivision prigm. Algorithms tht onvert rom Bounry Representtion (BRep) to BSP-Trees hve een propose, ut none is known to perorm the opposite onversion. In this pper we present suh n lgorithm, tht tkes s put BSP-Tree representtion or polytope n proues BRep s put. The iulty esigng suh lgorithm omes rom the t tht the ormtion the ounry is not expliitly represente the BSP-Tree. The solution we present volves reursive trversl o the tree to ompute lower imensionl ormtion, long with glug lgorithm tht ome the onvex regions ene y the BSP-Tree, removg ternl etures. A new t struture is propose ( Topologil BSP-Tree), tht ugments the tritionl BSPtree with topologil poters n is use to store termeite results use the reonstrution o the BRep. 1 Introution Bounry representtion (BRep) is wiely use representtion o soli geometry, se on the esription o n ojet y its ounry, s olletion o es, eges n verties[?]. On the other hn, Bry Spe Prtitiong Trees (BSP-Trees) onsist o onvex hierrhil eompositions o the spe, where the ojet is represente y the union o onvex regions. The si opertion or the onstrution o this eomposition onsists o prtition o the unerlyg spe y given hyperplne. This prtition is represente s ry tree, where eh noe is ientie y hyperplne, n the let n right sutrees o the noe represent the two hlspes ote the prtition. The reursive pplition o this opertion retes onvex hierrhil eompositions o the spe. In Soli Moelg, BSP-Trees hve een use long with BReps, n mny lgorithms hve een propose, like the onversion rom BRep to BSP-Tree [?], or the one tht omputes oolen opertion with BSP-Trees [?]. In this pper we onsier the prolem o onvertg BSP-Tree representtion o polytope to BRep. This prolem is similr to the onversion o CSG to BRep (lso lle the Bounry Evlution), euse the BSP-Tree n? e-mil: om@s.stnor.eu, we: e-mil: nylor@sptil-ls.om

2 e rst onverte to CSG y omputg the union o ll the onvex regions tht the BSP-Tree enes, n pplyg over the result ny o the Bounry Evlution lgorithms propose the literture([?], [?]). However, this pproh oes not exploit the sptil suivision ormtion tht the BSP-Tree enoes, whih my le to more eient lgorithms. In orer to use this ormtion, we propose n lgorithm tht onverts the BSP- Tree to BRep y workg iretly the struture o the BSP-Tree. In Fig e e () () () Fig. 1. () BSP-Tree, () Prtition ue y the BSP-Tree. The resultg ojet is ompose o 3 ierent regions (4, 5, 6), orrespong to the IN noes () Computg the ounry requires glug ierent regions n removg ternl elements we illustrte the prolem o reonstrutg the ounry o n ojet ote y prtition ue y the BSP-Tree. In this exmple the union o regions 4, 5 n 6 (Fig. 1) orm the ojet. Lookg t the exmple we ientiy some iulties the esign o the onversion lgorithm: { The BSP-Tree oes not hve lower imensionl ormtion: Intersetions nee to e ompute to ot the es, eges n verties on the ounry. { The BSP-Tree oes not hve jent-topologil ormtion. { The BSP-Tree represents onvex eomposition o solis s onvex regions, n the ounry my e prtitione multiple epenent omponents tht re not miml. In the ollowg setions we present how we solve eh o the ove prolems, n give the lgorithm to ompute BRep rom BSP-Tree. Initilly we review

3 some si onepts BSP-Trees. The lgorithm tht omputes the BRep rom BSP-Tree is isusse next, where we esrie the Topologil BSP-Tree (TBSP-Tree), n uxiliry t struture tht stores termeite results n topologil reltions mong them. 2 Review o BSP-Trees 2.1 Bsi onepts Bry Spe Prtitiong trees (BSP-Trees) re sptil serh strutures use mny ierent spets o Computer Grphis n Geometri Moelg. Applitions Soli Moelg [?] [?] [?] [?], Visiility Orergs [?] [?] [?] n Imge Representtions [?], mong others, n e oun the literture. In orer to esrie the onepts o BSP-Trees, it is lwys nie to rst expl the reltion it hs with Bry Serh Trees. Bry Serh Trees hve een use Computer Siene mny wys, ut mostly s t struture to elerte serh queries se symoli vlues. A geometri terprettion o this t struture is hierrhy o ry prtitions o the rel le, where the prtitioner is pot n eh prtition ote represents n tervl. The prolem with this terprettion is tht it oes not iretly generlize to higher imensions, s pots o not prtition suh spes. The misleg ormtion with this terprettion is tht the prtitioner tht ws suppose to e pot is t hyperplne. In generl, or D-imensionl spe the prtitioner orrespons to the hyperplne to tht spe ( (D-1)-D element), n the prtition hs the sme imension o the unerlyg spe. BSP-Trees n Prtition Trees [?] use this nlogy to exten the onepts o Bry Serh Trees to higher imensionl spes, ut we hoose to work here with BSP-Trees s they hve more nturl orresponene with the representtion o solis thn Prtition Trees. One vntge o BSP-Trees is the ilityto ome serh struture with representtion sheme one unique t struture. The use o BSP-Trees s soli representtion sheme revels one pplition where this omtion is well exploite. Solis re represente usg BSP-Trees y union o onvex regions, whih re ientie y ssoitg ttriutes to the leves o the tree. These regions my e either sie or sie the soli, n re ene y the hyperplnes tht re the pth rom the root to the le noe. In orer to preisely ene the region, the leves hve ssoite n ttriute tht ites tht the region is sie or sie the soli. 2.2 Forml enitions Mny lgorithms BSP-Trees re etter exple i we represent the m onepts ormlly. In this setion we present some enitions n properties tht re gog to e use the pper.

4 Denition1. Hyperplnes n Hlspes: The hyperplne is the si element to reursively prtition the spe, n it is esrie y the ollowg eqution: h = (x 1 ::: x ) j 1 x 1 + ::: + x + +1 = 0g The hyperplne seprtes the spe two hlspes, the positive n the negtive hlspe. Eh o them is expresse s: h + = (x 1 ::: x ) j 1 x 1 + ::: + x + +1 > 0g h ; = (x 1 ::: x ) j 1 x 1 + ::: + x + +1 < 0g The norml o the hyperplne is ene y thevetor ( 1 2 ::: ). The positive hlspe orrespons to the one tht lies the iretion o the norml. Denition2. BSP-Tree Noes n Leves: A BSP-Tree noe represents the ormtion o the ry prtition eg perorme on the spe. It onsists o prtitiong hyperplne, n let n right hilren tht pot to BSP-Tree representtions o the positive n negtives hlspes. The hyperplne tht enes the noe n is enote with H(n). A BSP-Tree le onts ttriutes ssoite to given region. It onts the lels IN (i the region is sie the soli), or OUT (i the region is sie the soli), ut my lso ont itionl ttriutes, like olor or ensity. Denition3. Region Pth: A Region Pth orrespons to the pth tht les rom the root o the tree to nother noe o the BSP-Tree. This pth represents one given prtition o the spe, n is represente y n orere list o noes L. RP (n) = L = root ::: prent(prent(n)) prent(n) ng Denition4. Region: A region o given noe represents the geometri terprettion o the prtition ene y the region pth RP(n). It orrespons to the tersetion o ll positive hlspes the region pth, n n e ormulte s: R(n) = \H () j H () 2 RP (n) =+ ;g Denition5. Su-hyperplne: A su-hyperplne s o hyperplne h t given noe n is ene y the tersetion o the hyperplne h with the region R(n) ene the noe. s = SUB(h n) = h \ R(n)g Denition6. Projete Hyperplne: A projete hyperplne p is one imension lower hyperplne tht is ote y projetg the tersetion o two hyperplnes h1 n h2 orthogonlly to one o the oorte xis.

5 Denition7. Pth Prtil Orerg p :Leth 1 n h 2 e two hyperplnes ommon region pth p rom the root o the tree. We eneh 1 p h 2 i h 1 is the let sutree o h 2. Otherwise, h 2 p h 1. 3 Computg the BRep rom BSP-Tree The BSP-Tree represents solis s the union o onvex regions, n the ounry ssoite with eh o these regions is ene y the tersetion o hlspes the tree. Eh onvex region is ientie y two ttriutes: le noe l lele s IN (i.e. not empty), n region pth RP(l) ssoite with l. The ounry o this region is ote y the tersetion o the hyperplnes its orrespong region pth. In the simple se where the BSP-Tree onsists o sgle onvex region we nee to onsier only one region pth, n to ot the ounry we ompute the tersetion o ll hyperplnes the region pth (Fig. 2). R R = Fig. 2. Simple BSP-Tree genertg only one onvex region In more omplite BSP-Tree, with more thn one onvex region, it is likely tht some o the region pths ssoite with these regions will shre noes the tree. In Fig. 3, region pths o the regions R1, R2, R3 n R4 shre the noes n, n the tersetion o H() n H() is on the ounry o ll these regions. In t, ny noe the tree my ontriute to the ounry o ll regions tht onts the noe its region pth. A relte onsequene o this t is tht when omputg given region we my not nee to ompute the tersetions o ll hyperplnes the region pth, s some my not ontriute to the region (reunnts to the region), The shrg o noes mong ierent regions implies tht the omputtion o tersetions to n the ounry o regions my require repete omputtions. This t revels struture ommon Dynmi Progrmmg (DP) prolems. In eh noe o the tree we n prtition the prolem o omputg the ounry to smller prolems, orrespong to the ounry the positive

6 e e e R1 R3 R2 R4 R1 = e- R2 = R3 = e- R4 = Fig. 3. Complex BSP-Tree genertg more thn one onvex region n negtive hlspes o the noe. In orer to ot suh ounries, we nee to ompute tersetions mong hyperplnes eh o the sutrees (seprte suprolems) n nestor hyperplnes (shre suprolems), whih ienties the DP struture. One wy to voi re-omputtion o ommon tersetions shre y suprolems is to store them termeiry t strutures. The wy o representg these tersetions, here lle lower imensionl ormtion, is esrie etils the next setion. 3.1 Storg lower imensionl elements One metho o representg lower imensionl elements BSP-Tree relies on usg BSP-Trees o lower imension, whih results struture lle multi imensionl BSP-Tree. In 1990, Nylor [?] propose ut i not elorte the use o pure BSP-Tree moel to represent solis. The proposl ws se the extension o the stnr BSP-Tree moel to represent expliitly the multi-imensionl ormtion ene y the struture o the tree. In 1991, Vneek [?] use similr ies n propose the BRep-Inex, whih onsiste o multi-imensionl BSP-Tree (lle MSP) tthe to BRep, with the gol o provig eient ess to the BRep strutures. The BRep-Inex is onstrute suh wy tht there is orresponene etween (0,1,2)- noes o the MSP with the verties, eges n es o the BRep. In this pper, we represent the lower imensionl ormtion ote ierent k o multi-imensionl BSP-Tree. In the BRep Inex o Vneek the topologil ormtion is store the BRep struture n not the MSP. In the t struture propose this pper, the topologil ormtion is store multi imensionl BSP-Tree, ugmente with itionl topologil

7 lower(,-) lower(,-) lower(,-) Topologil Lks Lower Dimension Lks Fig. 4. Topologil BSP-Tree (TBSP-Tree) exmple 2D poters onnetg elements topologilly jent. We ll this t struture Topologil BSP-Tree (TBSP-Tree). The motivtion or retg suh struture omes rom the t tht orer to ot lower imensionl ormtion we must ompute the tersetion o hyperplnes, whih gives ert ormtion the wy tht elements re topologilly relte. In the exmple o Fig. 4, when omputg the tersetion o the les n we ot pot tht we nee to sert to the lower imensionl BSP-Trees ssoite with n. In other wors, is topologilly jent to y. In orer to preserve this ormtion, we onnet the noes we ot this tersetion with topologil poters. Besies the ition o these topologil poters, the TBSP-tree is ierent rom the MSP o Vneek euse we keep not only one, ut two poters to lower imensionl imensionl BSP-Trees, orrespong to the suivisions orme over oth sies o the hyperplne. One reson or this hoie lues the simplition o the rementl lgorithm to uil the topologil BSP-Tree, whih requires prtil orerg mong the hyperplnes, tht n e simplie i we proess the suivisions oth sies seprtely.

8 3.2 Nvigtg the TBSP-Tree The TBSP-Tree stores topologil ormtion the tersetions ompute pre-orer trversl o the tree. This is hieve y retg opies o the sme tersetion n onnetg them with topologil poters. In generl, or eh tersetion o twohyperplnes h 1 n h 2 wekeep three opies the TBSP- Tree. The noe higher lote the tree reeives one opy, store the lower imensionl tree eg use the urrent region pth. The other two opies re store the two lower imensionl trees ssoite with the other noe. These lst two opies re onnete to the rst opy rete y topologil poter. In the se where h 1 p h 2, the rst opy is store the negtive lower imensionl tree o h 2, euse h 1 is the let sutree o h 2. The other two opies re store the positive n negtive lower imensionl trees o h1. Usg the ormtion store the TBSP-Tree we re le to reover the si elements o the Bounry Representtion. This n e illustrte y lookg t the prtil TBSP-Tree representtion or ue Fig. 5. The es o the ue re ene y the hyperplnes H(), H() n H(), whih re represente3dbsp-tree y the noes, n. The tersetion H() \ H() is represente the lower imensionl trees ssoite with n s n respetively. The eges tht elong to the e H() re ene the lower imensionl trees ssoite with noe, whih this se hs one empty tree, s the prtition ours only one o the sies o. In orer to trverse the es o the ue iretly rom the TBSP-Tree we mke use o the ollowg opertors: { TreePrent(noe) n TreeSon(noe,sie): Tritionl poters trees or prents n sons. { DimensionPrent(noe) n DimensionSon(noe,sie): Poters tht reet n iene reltion the imension o the spe. DimensionSon(noe,sie) returns poter to the lower imensionl BSP-Tree ssoite with the noe the spei sie, n DimensionPrent(Noe) returns n upperimensionl BSP-Tree ssoite with the noe. { TopologilCopy(noe,sie): The pplition o this opertors returns the topologil opy o noe t given sie. In Fig. 5, TopologilCopy (,-) returns the opy ;,whih orrespons to the sme tersetion, ut store the negtive lower imensionl BSP-Tree o. { TopologilNeighor(noe): In 1D it is possile to ene n jeny reltion. The Topologil neighor o noe orrespons to the next noe seng orer the rel le. This orer is ene terms o the projete hyperplne norml, n reets our onvention or the orienttion o loops the representtion o the ounry. In Fig. 5, the 1D-BSP-Trees re oriente y the hyperplne norml to eh eges. The iretion o the hyperplne norml is ene y the projete hyperplne n the urrent sie o the lower imensionl tree eg use.

9 e e e e e e e e 3D-BSP-Tree e 2D-BSP-Tree e e 1D-BSP-Tree e e e Fig. 5. Topologil BSP-Tree (TBSP-Tree) exmple 3D These opertors llow us to ess the ounry elements or the ue. In Fig. 6 we show the proeure to visit the elements o e (VisitFe). The pplition o this proeure to the le noe IN (next to noe e) will visit eges (e, e), (e, ), (, ) n(, e), whih orrespon to the eges o the e. 3.3 Inrementlly Computg the TBSP-Tree For every noe visite the trversl o the tree, we isover more ormtion how the BSP-Tree prtitions the spe. When new noe is rehe, we my ompute the tersetion o the hyperplne tht enes the noe gst ll hyperplnes the region pth o the noe. These tersetions re use to upte the lower imensionl BSP-Trees o ll the noes this region pth.

10 proeure VisitFe(1D-BSPTree noe1d) // The strtg noe orrespons to le ontg // n IN ttriute the 1D-BSP-Tree urrentnoe1d = strtnoe1d = DimensionPrent(noe1D) o nextnoe1d = TopologilNeighor (urrentnoe1d) VisitEge (urrentnoe1d, nextnoe1d) urrentnoe1d = TopologilCopy (urrentnoe1d) while (urrentnoe1d!= strtnoe1d) en VisitFe Fig. 6. Proeure to visit e usg the TBSP-Tree Every tersetion ote is projete onto one o the oorte hyperplnes eore sertion to the lower imensionl trees, orrespong to the onept ene eore o projete hyperplne. One wy to unerstn this opertion is to rememer the wy tht Gussin Elimtion (GE) solves ler systems. In GE, the solution o ler system volves rst tringultion step, where eh o the olumns uner the pivot (the igonl element) is elimte (reple y zeros). In t, t every elimtion step the olumns o the mtrix, whih n e terprete s the oeients tht ene hyperplne, re projete to one o its imensions. This is extly the sme opertion we re perormg here to ot the projete hyperplnes. In orer to ompute ll lower imensionl ormtion ue y the BSP-Tree on spei hyperplne we ompute the tersetions with the other hyperplnes, n projet these tersetions iretion orthogonl to one o the oorte xis. This hs the sme eet o sweepg with zeros olumn GE. For simpliity,rom now on when we reer to tersetions we re t reerrg to the projete hyperplnes o the tersetions. The upte step o the lower imensionl trees is perorme ter n tersetion is oun, onsistg o the sertion o projete hyperplnes lower imensionl trees. This sertion opertion is guie y prtitiong opertion, whih volves the lssition o hyperplne gst prtitiong hyperplne. Depeng on the result o this lssition, the tersetion etween the hyperplnes is ompute n the hyperplne eg serte is prtitione to two su-hyperplnes. The su-hyperplnes re reursively serte to the let n right sutrees o the prtitioner noe. However, we exploit one unreognize property o the BSP-Trees tht gurntees tht we nee to perorm this sertion to only one sutree o the noe. Suppose tht the BSP-Tree esrie Fig. 7 we wnt to ompute the lower imensionl ormtion ssoite with noe. Perormg pre-orer trversl o the tree we visit this orer noes n the tree. In this se tersets, thereore we ompute the tersetion n sert s noe

11 () () () Fig. 7. Simple se the rementl onstrution o the TBSP-Tree. The sttus o the lower imensionl BSP-Tree ssoite with ter the visit o noes, n is illustrte (), () n () to the negtive lower imensionl BSP-Tree o, s p. The next noe visite is, n the sertion o to the lower imensionl tree o volves prtition gst, to eie whih sieo we nee to sert. Usg the the pth prtil orerg ene y the tree, we oserve tht p, n thereore we must hve tht p, whih mens tht nees to e serte to the let sutree o. But it is esy to ormulte se where the sertion opertion n not e guie y suh prtil orerg. In Fig. 8, oes not terset. This is only possile euse is prllel to, s is hil o. Clerly, one o the sutrees o (let or right) oes not nee to e teste gst ( this se the right sutree). Thereore, even i noes n terset we o not nee to prtition one gst the other, s is shielg one o them rom tersetg. A more omplite exmple volves the se where some noe (not hil) oes not terset. Consier the se Fig. 9 where n e terset, ut oes not terset. The sertion o to the lower imensionl BSP-Tree ssoite with requires rst prtition gst. Usg s ove the prtil orer p we propgte the result to the let sutree o. Nowwe nee to prtition gst e, ut the pth prtil orerg is not ene etween e n. Note tht the t tht oes not terset tells us tht one o its sutrees oes not nee to e teste or tersetion gst, euse s eore n its nestors shiel one o its sutrees rom tersetg. In this se, n shiel rom tersetg Usg suh results, we my eie whih sie to sert given hyperplne when we perorm the prtitiong opertion. We prtition the hyperplne y

12 e e e () () () Fig. 8. First se o Prtil Orerg not ene. The sttus o the lower imensionl BSP-Tree ssoite with ter the visit o noes, n e is illustrte (), () n () e e e () () () Fig. 9. Seon se o Prtil Orerg not ene. The sttus o the lower imensionl BSP-Tree ssoite with ter the visit o noes, n e is illustrte (), () n () omputg the tersetion with the prtitioner, n propgte the result to the sie onsistent with the prtil orerg ene y the urrent pth. When le noe is rehe, we evlute the su-hyperplne prtitione, n i it is not emptywe rete new noe with unene let n right ttriutes, n upte

13 ll the 1D-BSP-Trees o the most reent prtitioner hyperplnes oun long the wy. One iulty this rementl onstrution is tht we only isover the ttriutes (IN or OUT) whenwe visit le noe. At thispot, we nee to propgte this ttriute to ll lower imensionl BSP-Trees the urrent region pth n rete le noes with the ttriute just isovere. In t this iulty is prtiulr se o the sertion tht we re perormg the other ses, only tht this se we re not sertg hyperplne ut n ttriute, tht n e lolize the tree usg the prtil orerg s ove. Another importnt opertion tht nees to e perorme when omputg tersetions n sertg them to lower imensionl BSP-Trees is to keep trk o the ple where we sert the ierent opies o n tersetion. For stne, the sme tersetion h 12 o h 1 n h 2 nees to e serte to the lower imensionl BSP-Tree ssoite with h 1 n with h 2.Topologil poters re rete to onnet the opies o this tersetion, whih will llow the reonstrution o the BRep next step. The proeure to ompute the lower imensionl ormtion is esrie Fig. 10. proeure ComputeLowerDimension(BSPTree *urrent, BSPTree *pth) or eh hyperplne h p the urrent pth i urrent hyperplne h is le // We upte the lower imensionl trees with the ttriute Insert(DimensionSon(h p, sie(h p )), urrent.ttriute, pth) else Compute tersetion h p etween h p n urrent h i h p is not empty // We sert the tersetion to the lower BSP-Trees // o h n hp n lk them with topologil lks Insert(DimensionSon(h, +), h p, pth) Insert(DimensionSon(h, -), h p, pth) Insert(DimensionSon(h p, sie(h p )), h p, pth) eni eni enor ComputeLowerDimension(urrent.let, pth [ urrent + ) ComputeLowerDimension(urrent.let, pth [ urrent ; ) en ComputeLowerDimension Fig. 10. Proeure to Compute Lower Dimensionl Inormtion

14 3.4 Usg the TBSP-Tree to reonstrut the Bounry The rementl onstrution o the TBSP-tree uilt ormtion topologil reltions mong the elements ll imensions. A noe the tree hs ll the ormtion neessry to reonstrut the ounry when oth lower imensionl trees hve een ompletely ompute. In orer to extrt the ounry we perorm glug opertion the imension o the emeg spe, whih remove eges ternl to es n es ternl to solis. In Fig. 11 we hve n exmple where the prtitions oth sies o the hyperplne h nee to e glue together to remove ternl elements. The glug opertion is responsile or omg the results rom the two sutrees suh wy tht the result is vli representtion or the ounry ene the sutrees o the noe. In orer to glue the ormtion the positive n negtive hlspes o noe, we perorm the symmetri ierene o the lower imensionl BSP-Trees oth sies o the hyperplne, whih is oolen opertion tht n e exeute y tree mergg lgorithm or BSP-Trees[?]). The result o the symmetri ierene opertion is tree whose IN regions re elements o the ounry o the ojet. h h+ h- Fig. 11. Glug opposite es to ot the ounry Note tht the glug proess to remove ternl etures entils reursion on imension tht rst glues lower imensionl etures. In other wors, orer to

15 glue two es we rst glue the elements ternl to eh o these es seprtely, whih will orrespon to the removl o ternl eges o e. The lgorithm itilly perorms two glug opertions the positive n negtive lower imensionl trees, n symmetri ierene opertion tht omes the results ote. The lgorithm or glug TBSP-Trees is imension-epenent, n the pseuo-oe is esrie Fig. 12. proeure GlueBSPTree(BSPTree noe, Dimension im) i imension > 1 tree1 = GlueBSPTree(DimensionSon(noe,+), im-1) tree2 = GlueBSPTree(DimensionSon(noe,-), im-1) eni return SymmetriDierene(tree1, tree2) en GlueBSPTree Fig. 12. Proeure to glue TBSP-Trees The glug proess n e implemente suh wy tht the ounry reltions o the ierent imensione elements is preverse. In Fig. 13 we illustrte the glug opertion or n exmple 2D. The omplite ses rise noes n, where we hve prtitions ue y the BSP-Tree oth sies o the hyperplnes. In Fig. 13 we show the prtition ue y the tree, n the ormtion store the TBSP-Tree is illustrte y the yles o eges n verties eh ell. When perormg the symmetri ierene we not only remove ternl etures, ut we lso jo the yles oth sies o the hyperplne. In Fig. 13 we show the result o the pplition o the glug opertion to the noe. The orrespong etures re ientie y perormg the symmetri ierene opertion or oth lower imensionl trees one imension lower, n the yles re joe together when we hve mutully ient reltions. In this se, the ege generte y the hyperplne is remove, n the yle o eges o oth opies o re joe together. In similr wy Fig. 13 shows the result o the glug opertion or noe. It is importnt to emonstrte tht the ounry ormtion ote is t miml. This is hieve ue to the t tht ll ternl etures re remove y the reursion imension perorme y the glug lgorithm. This is n importnt onsequene, euse the onvex eomposition rete y the BSP-Tree eomposition my generte rgmenttion o the ounry when non-onvex ojets re represente. The glug opertion, s propose, provies n elegnt solution to the prolem o reonstrutg the miml BRep rom BSP-Tree representtion o polytope.

16 e e g g () e e g g () () Fig. 13. Exmple o the glug Proeure 2D 4 Conlusions In this pper, we hve presente n lgorithm to onvert BSP-Tree representg polytope to BRep representtion. The storge o lower imensionl ormtion TBSP-tree llowe us to reonstrut the ormtion neessry to reover the ounry o the ojet. The TBSP-Tree is rementlly ompute urg pre-orer visit o the tree, whih omputes ll lower imension ormtion oth sies o eh noe. A glug step is perorme when ll ormtion noe is isovere. whih volves reursion the imension o the spe to remove ternl etures n glue the ounry representtion eh sie o the noe. As onsequene o this proess, the ounry representtion ote t the en orrespons to miml BRep. We elieve tht the importne o the BSP-Tree representtion n e extene y hvg suh lgorithm ville. BSP-Trees n BReps re oth representtion o polytopes use Soli Moelg, eh one with its own vntges. For exmple, BSP-Trees re more eient where visiility orergs or oolen opertions nee to e ompute, wheres some other pplitions,

17 like topologil eormtions, we woul preer to use the BRep. By hvg oth onversion lgorithms ville we n exploit the vntges o eh moel more eiently. Another pplition where the onversion lgorithm propose this pper n e use reers to the prolem o ng ner-optiml BSP-Tree representtion o polytope. The BSP-Tree representtion is not unique, n mny ierent trees my represent given polytope. The prolem o ng miml tree is even more importnt when we perorm suessive oolen opertions y pplyg tree mergg lgorithms, whih my generte trees tht nee to e re-struture. Unlike Bry Serh Trees, where we hve lgorithms to keep tree lne, the lng o tree higher imensions is muh morei- ult prolem. By pplyg the onversion esrie here we ot miml BRep, whih ggregtes the geometri ormtion expresse y the tree. The urther onversion rom BRep to BSP-Tree my generte muh more lne tree, s the topologil ormtion o the BRep gives etter heuristis the onstrution o the tree. Flly, the omtion o topologil ormtion the BSP-Tree, whih resulte the TBSP-Tree, shows promisg pplitions Soli Moelg. In uture work we pln to exten BRep lgorithms, like topologil eormtions, to work iretly with TBSP-Trees. 5 Aknowlegments The rst uthor woul like to thnk Chrles Loop or the proposl o the prolem o onvertg BSP-Trees to BRep, s well s orienttion the rst ttempts to solve the prolem Leonis Guis or helpul isussions n grnt rom Brzilin Ageny CNPq uner proess numer /92.9. Reerenes 1. H. Fuhs, Z. M. Keem, n B. F. Nylor. On visile sure genertion y priori tree strutures. Computer Grphis (SIGGRAPH '80 Proeegs), 14(3):124{133, July Dn Goron n Shuhong Chen. Front-to-k isply o BSP trees. IEEE Computer Grphis n Applitions, 11(5):79{85, Septemer M. Mntyl. An Introution to Soli Moelg. Computer Siene Press, Rokville, M, J. Mtousek. Eient prtition trees. Disrete Comput. Geom., 8:315{334, Brue Nylor. Bry spe prtitiong trees s n lterntive representtion o polytopes. Computer-Aie Design, 22(4):250{252, My Brue Nylor. SCULPT n tertive soli moelg tool. In Proeegs o Grphis Intere '90, pges 138{148, My Brue Nylor, John Amnties, n Willim Thiult. Mergg BSP trees yiels polyherl set opertions. In Forest Bskett, eitor, Computer Grphis (SIG- GRAPH '90 Proeegs), volume 24, pges 115{124, August 1990.

18 8. Brue F. Nylor. Prtitiong tree imge representtion n genertion rom 3D geometri moels. In Proeegs o Grphis Intere '92, pges 201{212, My A. A. G. Requih n H. B. Voelker. Boolen opertions soli moelg: Bounry evlution n mergg lgorithms. Pro. IEEE, 73(1):30{44, Jnury Jroslw R. Rossign n Herert B. Voelker. Ative zones CSG or elertg ounry evlution, reunny elimtion, tererene etetion, n shg lgorithms. ACM Trnstions on Grphis, 8(1):51{87, Willim C. Thiult n Brue F. Nylor. Set opertions on polyher usg ry spe prtitiong trees. In Mureen C. Stone, eitor, Computer Grphis (SIGGRAPH '87 Proeegs), volume 21, pges 153{162, July Enri Torres. Optimiztion o the ry spe prtition lgorithm (BSP) or the visuliztion o ynmi senes. In C. E. Vnoni n D. A. Due, eitors, Eurogrphis '90, pges 507{518. North-Holln, Septemer G. Vneek, Jr. Brep-ex: multiimensionl spe prtitiong tree. Internt. J. Comput. Geom. Appl., 1(3):243{261, 1991.

10.2 Graph Terminology and Special Types of Graphs

10.2 Graph Terminology and Special Types of Graphs 10.2 Grph Terminology n Speil Types of Grphs Definition 1. Two verties u n v in n unirete grph G re lle jent (or neighors) in G iff u n v re enpoints of n ege e of G. Suh n ege e is lle inient with the

More information

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam Cmrige, Msshusetts Introution to Mtrois n Applitions Srikumr Rmlingm MERL mm//yy Liner Alger (,0,0) (0,,0) Liner inepenene in vetors: v, v2,..., For ll non-trivil we hve s v s v n s, s2,..., s n 2v2...

More information

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved. Chpter 9 Greey Tehnique Copyright 2007 Person Aison-Wesley. All rights reserve. Greey Tehnique Construts solution to n optimiztion prolem piee y piee through sequene of hoies tht re: fesile lolly optiml

More information

Outline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals

Outline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals Outline CS38 Introution to Algorithms Leture 2 April 3, 2014 grph trversls (BFS, DFS) onnetivity topologil sort strongly onnete omponents heps n hepsort greey lgorithms April 3, 2014 CS38 Leture 2 2 Grphs

More information

GENG2140 Modelling and Computer Analysis for Engineers

GENG2140 Modelling and Computer Analysis for Engineers GENG4 Moelling n Computer Anlysis or Engineers Letures 9 & : Gussin qurture Crete y Grn Romn Joles, PhD Shool o Mehnil Engineering, UWA GENG4 Content Deinition o Gussin qurture Computtion o weights n points

More information

Greedy Algorithm. Algorithm Fall Semester

Greedy Algorithm. Algorithm Fall Semester Greey Algorithm Algorithm 0 Fll Semester Optimiztion prolems An optimiztion prolem is one in whih you wnt to fin, not just solution, ut the est solution A greey lgorithm sometimes works well for optimiztion

More information

V = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V)

V = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V) Definitions G = (V, E) V = set of verties (vertex / noe) E = set of eges (v, w) (v, w in V) (v, w) orere => irete grph (igrph) (v, w) non-orere => unirete grph igrph: w is jent to v if there is n ege from

More information

Distance vector protocol

Distance vector protocol istne vetor protool Irene Finohi finohi@i.unirom.it Routing Routing protool Gol: etermine goo pth (sequene of routers) thru network from soure to Grph strtion for routing lgorithms: grph noes re routers

More information

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal CS 55 Computer Grphis Hidden Surfe Removl Hidden Surfe Elimintion Ojet preision lgorithms: determine whih ojets re in front of others Uses the Pinter s lgorithm drw visile surfes from k (frthest) to front

More information

3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull

3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull Convex Hull in The rolem: Given set P of oints in, omute their onvex hull onvex hulls Comuttionl Geometry [si 3250] Lur Tom Bowoin College onvex olyheron 1 2 3 olygon olyheron onvex olyheron 4 5 6 Polyheron

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grph Theory Prudene Wong http://www.s.liv..uk/~pwong/tehing/omp108/201617 How to Mesure 4L? 3L 5L 3L ontiner & 5L ontiner (without mrk) infinite supply of wter You n pour wter from one ontiner to nother

More information

Lesson 4.4. Euler Circuits and Paths. Explore This

Lesson 4.4. Euler Circuits and Paths. Explore This Lesson 4.4 Euler Ciruits nd Pths Now tht you re fmilir with some of the onepts of grphs nd the wy grphs onvey onnetions nd reltionships, it s time to egin exploring how they n e used to model mny different

More information

Lecture 12 : Topological Spaces

Lecture 12 : Topological Spaces Leture 12 : Topologil Spes 1 Topologil Spes Topology generlizes notion of distne nd loseness et. Definition 1.1. A topology on set X is olletion T of susets of X hving the following properties. 1. nd X

More information

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414 Introution to Dt Mngement CSE 44 Unit 6: Coneptul Design E/R Digrms Integrity Constrints BCNF Introution to Dt Mngement CSE 44 E/R Digrms ( letures) CSE 44 Autumn 08 Clss Overview Dtse Design Unit : Intro

More information

Lecture 13: Graphs I: Breadth First Search

Lecture 13: Graphs I: Breadth First Search Leture 13 Grphs I: BFS 6.006 Fll 2011 Leture 13: Grphs I: Bredth First Serh Leture Overview Applitions of Grph Serh Grph Representtions Bredth-First Serh Rell: Grph G = (V, E) V = set of verties (ritrry

More information

Duality in linear interval equations

Duality in linear interval equations Aville online t http://ijim.sriu..ir Int. J. Industril Mthemtis Vol. 1, No. 1 (2009) 41-45 Dulity in liner intervl equtions M. Movhedin, S. Slhshour, S. Hji Ghsemi, S. Khezerloo, M. Khezerloo, S. M. Khorsny

More information

Graph theory Route problems

Graph theory Route problems Bhelors thesis Grph theory Route prolems Author: Aolphe Nikwigize Dte: 986 - -5 Sujet: Mthemtis Level: First level (Bhelor) Course oe: MAE Astrt In this thesis we will review some route prolems whih re

More information

UTMC APPLICATION NOTE UT1553B BCRT TO INTERFACE PSEUDO-DUAL-PORT RAM ARCHITECTURE INTRODUCTION ARBITRATION DETAILS DESIGN SELECTIONS

UTMC APPLICATION NOTE UT1553B BCRT TO INTERFACE PSEUDO-DUAL-PORT RAM ARCHITECTURE INTRODUCTION ARBITRATION DETAILS DESIGN SELECTIONS UTMC APPLICATION NOTE UT1553B BCRT TO 80186 INTERFACE INTRODUCTION The UTMC UT1553B BCRT is monolithi CMOS integrte iruit tht provies omprehensive Bus Controller n Remote Terminl funtions for MIL-STD-

More information

Internet Routing. Reminder: Routing. CPSC Network Programming

Internet Routing. Reminder: Routing. CPSC Network Programming PS 360 - Network Progrmming Internet Routing Mihele Weigle eprtment of omputer Siene lemson University mweigle@s.lemson.eu pril, 00 http://www.s.lemson.eu/~mweigle/ourses/ps360 Reminer: Routing Internet

More information

Table-driven look-ahead lexical analysis

Table-driven look-ahead lexical analysis Tle-riven look-he lexil nlysis WUU YANG Computer n Informtion Siene Deprtment Ntionl Chio-Tung University, HsinChu, Tiwn, R.O.C. Astrt. Moern progrmming lnguges use regulr expressions to efine vli tokens.

More information

CS 241 Week 4 Tutorial Solutions

CS 241 Week 4 Tutorial Solutions CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it

More information

A matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications $

A matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications $ Informtion Systems 29 (2004) 23 46 A mthing lgorithm for mesuring the struturl similrity etween n XML oument n DTD n its pplitions $ Elis Bertino, Giovnn Guerrini, Mro Mesiti, * Diprtimento i Informti

More information

Introduction. Example

Introduction. Example OMS0 Introution isjoint sets n minimum spnning trees In this leture we will strt by isussing t struture use for mintining isjoint subsets of some bigger set. This hs number of pplitions, inluing to mintining

More information

Robust internal multiple prediction algorithm Zhiming James Wu, Sonika, Bill Dragoset*, WesternGeco

Robust internal multiple prediction algorithm Zhiming James Wu, Sonika, Bill Dragoset*, WesternGeco Roust internl multiple preition lgorithm Zhiming Jmes Wu, Sonik, Bill Drgoset*, WesternGeo Summry Multiple ttenution is n importnt t proessing step for oth mrine n ln t. Tehniques for surfe- rpily in the

More information

CMPUT101 Introduction to Computing - Summer 2002

CMPUT101 Introduction to Computing - Summer 2002 CMPUT Introdution to Computing - Summer 22 %XLOGLQJ&RPSXWHU&LUFXLWV Chpter 4.4 3XUSRVH We hve looked t so fr how to uild logi gtes from trnsistors. Next we will look t how to uild iruits from logi gtes,

More information

Bayesian Networks: Directed Markov Properties (Cont d) and Markov Equivalent DAGs

Bayesian Networks: Directed Markov Properties (Cont d) and Markov Equivalent DAGs Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGs Huizhen Yu jney.yu@s.helsinki.fi Dept. Computer Siene, Univ. of Helsinki Proilisti Moels, Spring, 2010 Huizhen Yu (U.H.) Byesin Networks:

More information

Lecture 8: Graph-theoretic problems (again)

Lecture 8: Graph-theoretic problems (again) COMP36111: Advned Algorithms I Leture 8: Grph-theoreti prolems (gin) In Prtt-Hrtmnn Room KB2.38: emil: iprtt@s.mn..uk 2017 18 Reding for this leture: Sipser: Chpter 7. A grph is pir G = (V, E), where V

More information

CICS Application Design

CICS Application Design CICS Applition Design In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the

More information

5 ANGLES AND POLYGONS

5 ANGLES AND POLYGONS 5 GLES POLYGOS urling rige looks like onventionl rige when it is extene. However, it urls up to form n otgon to llow ots through. This Rolling rige is in Pington sin in Lonon, n urls up every Friy t miy.

More information

PROBLEM OF APOLLONIUS

PROBLEM OF APOLLONIUS PROBLEM OF APOLLONIUS In the Jnury 010 issue of Amerin Sientist D. Mkenzie isusses the Apollonin Gsket whih involves fining the rius of the lrgest irle whih just fits into the spe etween three tngent irles

More information

WORKSHOP 9 HEX MESH USING SWEEP VECTOR

WORKSHOP 9 HEX MESH USING SWEEP VECTOR WORKSHOP 9 HEX MESH USING SWEEP VECTOR WS9-1 WS9-2 Prolem Desription This exerise involves importing urve geometry from n IGES file. The urves re use to rete other urves. From the urves trimme surfes re

More information

Asurveyofpractical algorithms for suffix tree construction in external memory

Asurveyofpractical algorithms for suffix tree construction in external memory Asurveyofprtil lgorithms for suffix tree onstrution in externl memory M. Brsky,, U. Stege n A. Thomo University of Vitori, PO Box, STN CSC Vitori, BC, VW P, Cn SUMMAY The onstrution of suffix trees in

More information

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions Distne Computtion etween Non-onvex Polyhedr t Short Rnge Bsed on Disrete Voronoi Regions Ktsuki Kwhi nd Hiroms Suzuki Deprtment of Preision Mhinery Engineering, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku,

More information

WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS

WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS WS19-1 WS19-2 Prolem Desription This exerise is use to emonstrte how to mp isplement results from the nlysis of glol(overll) moel onto the perimeter of

More information

Declarative Routing: Extensible Routing with Declarative Queries

Declarative Routing: Extensible Routing with Declarative Queries elrtive Routing: Extensile Routing with elrtive Queries Boon Thu Loo 1 Joseph M. Hellerstein 1,2, Ion toi 1, Rghu Rmkrishnn3, 1 University of Cliforni t Berkeley, 2 Intel Reserh Berkeley, 3 University

More information

Comparing Hierarchical Data in External Memory

Comparing Hierarchical Data in External Memory Compring Hierrhil Dt in Externl Memory Surshn S. Chwthe Deprtment of Computer Siene University of Mryln College Prk, MD 090 hw@s.um.eu Astrt We present n externl-memory lgorithm for omputing minimum-ost

More information

Containers: Queue and List

Containers: Queue and List Continers: Queue n List Queue A ontiner in whih insertion is one t one en (the til) n eletion is one t the other en (the he). Also lle FIFO (First-In, First-Out) Jori Cortell n Jori Petit Deprtment of

More information

COMPUTER EDUCATION TECHNIQUES, INC. (XML ) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (XML ) SA: In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following

More information

Pattern Matching. Pattern Matching. Pattern Matching. Review of Regular Expressions

Pattern Matching. Pattern Matching. Pattern Matching. Review of Regular Expressions Pttern Mthing Pttern Mthing Some of these leture slides hve een dpted from: lgorithms in C, Roert Sedgewik. Gol. Generlize string serhing to inompletely speified ptterns. pplitions. Test if string or its

More information

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator.

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator. COMMON FRACTIONS BASIC DEFINITIONS * A frtion is n inite ivision. or / * In the frtion is lle the numertor n is lle the enomintor. * The whole is seprte into "" equl prts n we re onsiering "" of those

More information

Width and Bounding Box of Imprecise Points

Width and Bounding Box of Imprecise Points Width nd Bounding Box of Impreise Points Vhideh Keikh Mrten Löffler Ali Mohdes Zhed Rhmti Astrt In this pper we study the following prolem: we re given set L = {l 1,..., l n } of prllel line segments,

More information

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms Prdigm. Dt Struture Known exmples: link tble, hep, Our leture: suffix tree Will involve mortize method tht will be stressed shortly in this ourse Suffix trees Wht is suffix tree? Simple pplitions History

More information

Structure in solution spaces: Three lessons from Jean-Claude

Structure in solution spaces: Three lessons from Jean-Claude Struture in solution spes: Three lessons from Jen-Clue Dvi Eppstein Computer Siene Deprtment, Univ. of Cliforni, Irvine Conferene on Meningfulness n Lerning Spes: A Triute to the Work of Jen-Clue Flmgne

More information

Advanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs.

Advanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs. Avne Progrmming Hnout 5 Purel Funtionl Dt Strutures: A Cse Stu in Funtionl Progrmming Persistent vs. Ephemerl An ephemerl t struture is one for whih onl one version is ville t time: fter n upte opertion,

More information

CS553 Lecture Introduction to Data-flow Analysis 1

CS553 Lecture Introduction to Data-flow Analysis 1 ! Ide Introdution to Dt-flow nlysis!lst Time! Implementing Mrk nd Sweep GC!Tody! Control flow grphs! Liveness nlysis! Register llotion CS553 Leture Introdution to Dt-flow Anlysis 1 Dt-flow Anlysis! Dt-flow

More information

Tight triangulations: a link between combinatorics and topology

Tight triangulations: a link between combinatorics and topology Tight tringultions: link between ombintoris nd topology Jonthn Spreer Melbourne, August 15, 2016 Topologil mnifolds (Geometri) Topology is study of mnifolds (surfes) up to ontinuous deformtion Complited

More information

10.5 Graphing Quadratic Functions

10.5 Graphing Quadratic Functions 0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions

More information

Cooperative Routing in Multi-Source Multi-Destination Multi-hop Wireless Networks

Cooperative Routing in Multi-Source Multi-Destination Multi-hop Wireless Networks oopertive Routing in Multi-Soure Multi-estintion Multi-hop Wireless Networks Jin Zhng Qin Zhng eprtment of omputer Siene n ngineering Hong Kong University of Siene n Tehnology, HongKong {zjzj, qinzh}@se.ust.hk

More information

1 Disjoint-set data structure.

1 Disjoint-set data structure. CS 124 Setion #4 Union-Fin, Greey Algorithms 2/20/17 1 Disjoint-set ata struture. 1.1 Operations Disjoint-set ata struture enale us to effiiently perform operations suh as plaing elements into sets, querying

More information

Computational geometry

Computational geometry Leture 23 Computtionl geometry Supplementl reding in CLRS: Chpter 33 exept 33.3 There re mny importnt prolems in whih the reltionships we wish to nlyze hve geometri struture. For exmple, omputtionl geometry

More information

Generating Editors for Direct Manipulation of Diagrams

Generating Editors for Direct Manipulation of Diagrams Generting Eitors for Diret Mnipultion of Digrms Gerhr Viehstet n Mrk Mins Lehrstuhl für Progrmmiersprhen Universität Erlngen-Nürnerg Mrtensstr. 3, 91058 Erlngen, Germny E-mil: fviehste,minsg@informtik.uni-erlngen.e

More information

A decision support system prototype for fuzzy multiple objective optimization

A decision support system prototype for fuzzy multiple objective optimization EUSFLAT - LFA A eision support system prototype for fuzzy multiple ojetive optimiztion Fengjie Wu Jie Lu n Gungqun Zhng Fulty of Informtion Tehnology University of Tehnology Syney Austrli E-mil: {fengjiewjieluzhngg}@it.uts.eu.u

More information

CS-184: Computer Graphics. Today

CS-184: Computer Graphics. Today CS-184: Computer Grphics Lecture #10: Clippin n Hien Surces Pro. Jmes O Brien University o Cliorni, Berkeley V2006-F-10-1.0 Toy Clippin Clippin to view volume Clippin ritrry polyons Hien Surce Removl Z-Buer

More information

Parallelization Optimization of System-Level Specification

Parallelization Optimization of System-Level Specification Prlleliztion Optimiztion of System-Level Speifition Luki i niel. Gjski enter for Emedded omputer Systems University of liforni Irvine, 92697, US {li, gjski} @es.ui.edu strt This pper introdues the prlleliztion

More information

Scalable Spatio-temporal Continuous Query Processing for Location-aware Services

Scalable Spatio-temporal Continuous Query Processing for Location-aware Services Slle Sptio-temporl Continuous uery Proessing for Lotion-wre Servies iopeng iong Mohme F. Mokel Wli G. Aref Susnne E. Hmrush Sunil Prhkr Deprtment of Computer Sienes, Purue University, West Lfyette, IN

More information

Solids. Solids. Curriculum Ready.

Solids. Solids. Curriculum Ready. Curriulum Rey www.mthletis.om This ooklet is ll out ientifying, rwing n mesuring solis n prisms. SOM CUES The Som Cue ws invente y Dnish sientist who went y the nme of Piet Hein. It is simple 3 # 3 #

More information

CS453 INTRODUCTION TO DATAFLOW ANALYSIS

CS453 INTRODUCTION TO DATAFLOW ANALYSIS CS453 INTRODUCTION TO DATAFLOW ANALYSIS CS453 Leture Register llotion using liveness nlysis 1 Introdution to Dt-flow nlysis Lst Time Register llotion for expression trees nd lol nd prm vrs Tody Register

More information

The Droplet Virtual Brush for Chinese Calligraphic Character Modeling

The Droplet Virtual Brush for Chinese Calligraphic Character Modeling The Droplet Virtul Brush for Chinese Clligrphi Chrter Moeling Xiofeng Mi Jie Xu Min Tng Jinxing Dong CAD & CG Stte Key L of Chin, Zhejing University, Hngzhou, Chin Artifiil Intelligene Institute, Zhejing

More information

INTEGRATED WORKFLOW ART DIRECTOR

INTEGRATED WORKFLOW ART DIRECTOR ART DIRECTOR Progrm Resoures INTEGRATED WORKFLOW PROGRAM PLANNING PHASE In this workflow phse proess, you ollorte with the Progrm Mnger, the Projet Mnger, nd the Art Speilist/ Imge Led to updte the resoures

More information

TEMPLATE FOR ENTRY in Encyclopedia of Database Systems: GRID FILE. Yannis Manolopoulos

TEMPLATE FOR ENTRY in Encyclopedia of Database Systems: GRID FILE. Yannis Manolopoulos TEMPLATE FOR ENTRY in Enylopedi of Dtse Systems: GRID FILE Apostolos N. Ppdopoulos Ynnis Mnolopoulos Ynnis Theodoridis Vssilis Tsotrs Deprtment of Informtis Aristotle University of Thessloniki Thessloniki,

More information

FEEDBACK: The standard error of a regression is not an unbiased estimator for the standard deviation of the error in a multiple regression model.

FEEDBACK: The standard error of a regression is not an unbiased estimator for the standard deviation of the error in a multiple regression model. Introutory Eonometris: A Moern Approh 6th Eition Woolrige Test Bnk Solutions Complete ownlo: https://testbnkre.om/ownlo/introutory-eonometris-moern-pproh-6th-eition-jeffreym-woolrige-test-bnk/ Solutions

More information

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees.

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees. 428 T FOU 4.3 Blned Trees T BT GOIT IN T VIOU setion work well for wide vriety of pplitions, ut they hve poor worst-se performne. s we hve noted, files lredy in order, files in reverse order, files with

More information

Balanced Trees. 2-3 trees red-black trees B-trees. 2-3 trees red-black trees B-trees smaller than. 2-node. 3-node E J S X A C.

Balanced Trees. 2-3 trees red-black trees B-trees. 2-3 trees red-black trees B-trees smaller than. 2-node. 3-node E J S X A C. ymol tle review Blned Trees implementtion gurntee verge se serh insert delete serh hit insert delete ordered itertion? opertions on keys sequentil serh (linked list) N N N N/2 N N/2 no equls() 2-3 trees

More information

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP ARCH This work ws supported y: The Europen Reserh Counil, The Isreli Centers of Reserh Exellene, The Neptune Consortium, nd Ntionl Siene Foundtion wrd CNS-119748 Outline Motivtion Bkground Regulr Expression

More information

Problem Final Exam Set 2 Solutions

Problem Final Exam Set 2 Solutions CSE 5 5 Algoritms nd nd Progrms Prolem Finl Exm Set Solutions Jontn Turner Exm - //05 0/8/0. (5 points) Suppose you re implementing grp lgoritm tt uses ep s one of its primry dt strutures. Te lgoritm does

More information

XML and Databases. Outline. XPath. Outline - Lectures. XPath Data Model. Outline - Assignments. XPath. Sebastian Maneth NICTA and UNSW

XML and Databases. Outline. XPath. Outline - Lectures. XPath Data Model. Outline - Assignments. XPath. Sebastian Maneth NICTA and UNSW Outline XML n Dtses Leture 6 Noe Seleting Queries: XPth 1.0 1. XPth Dt Moel: 7 types of noes 2. Simple Exmples 3. Lotion Steps n Pths 4. Vlue Comprison, n Other Funtions Sestin Mneth NICTA n UNSW CSE@UNSW

More information

Type Checking. Roadmap (Where are we?) Last lecture Context-sensitive analysis. This lecture Type checking. Symbol tables

Type Checking. Roadmap (Where are we?) Last lecture Context-sensitive analysis. This lecture Type checking. Symbol tables Type Cheking Rodmp (Where re we?) Lst leture Contet-sensitie nlysis Motition Attriute grmmrs Ad ho Synt-direted trnsltion This leture Type heking Type systems Using synt direted trnsltion Symol tles Leil

More information

Convex Hull Algorithms. Convex hull: basic facts

Convex Hull Algorithms. Convex hull: basic facts CG Leture D Conve Hull Algorithms Bsi fts Algorithms: Nïve, Gift wrpping, Grhm sn, Quik hull, Divide-nd-onquer Lower ound 3D Bsi fts Algorithms: Gift wrpping, Divide nd onquer, inrementl Conve hulls in

More information

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs. Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online

More information

Chapter 4 Fuzzy Graph and Relation

Chapter 4 Fuzzy Graph and Relation Chpter 4 Fuzzy Grph nd Reltion Grph nd Fuzzy Grph! Grph n G = (V, E) n V : Set of verties(node or element) n E : Set of edges An edge is pir (x, y) of verties in V.! Fuzzy Grph ~ n ( ~ G = V, E) n V :

More information

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it. 6.3 Volumes Just s re is lwys positive, so is volume nd our ttitudes towrds finding it. Let s review how to find the volume of regulr geometric prism, tht is, 3-dimensionl oject with two regulr fces seprted

More information

COMPUTER EDUCATION TECHNIQUES, INC. (WEBLOGIC_SVR_ADM ) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (WEBLOGIC_SVR_ADM ) SA: In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following

More information

Graph Contraction and Connectivity

Graph Contraction and Connectivity Chpter 14 Grph Contrtion n Connetivity So fr we hve mostly overe tehniques for solving problems on grphs tht were evelope in the ontext of sequentil lgorithms. Some of them re esy to prllelize while others

More information

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page.

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page. 6045J/18400J: Automt, Computbility nd Complexity Mrh 30, 2005 Quiz 2: Solutions Prof Nny Lynh Vinod Vikuntnthn Plese write your nme in the upper orner of eh pge Problem Sore 1 2 3 4 5 6 Totl Q2-1 Problem

More information

Premaster Course Algorithms 1 Chapter 6: Shortest Paths. Christian Scheideler SS 2018

Premaster Course Algorithms 1 Chapter 6: Shortest Paths. Christian Scheideler SS 2018 Premster Course Algorithms Chpter 6: Shortest Pths Christin Scheieler SS 8 Bsic Grph Algorithms Overview: Shortest pths in DAGs Dijkstr s lgorithm Bellmn-For lgorithm Johnson s metho SS 8 Chpter 6 Shortest

More information

Minimal Memory Abstractions

Minimal Memory Abstractions Miniml Memory Astrtions (As implemented for BioWre Corp ) Nthn Sturtevnt University of Alert GAMES Group Ferury, 7 Tlk Overview Prt I: Building Astrtions Minimizing memory requirements Performnes mesures

More information

Hash-based Subgraph Query Processing Method for Graph-structured XML Documents

Hash-based Subgraph Query Processing Method for Graph-structured XML Documents Hsh-bse Subgrph Query Proessing Metho for Grph-struture XML Douments Hongzhi Wng Hrbin Institute of Teh. wngzh@hit.eu.n Jinzhong Li Hrbin Institute of Teh. lijzh@hit.eu.n Jizhou Luo Hrbin Institute of

More information

Distributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems

Distributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems Distriuted Systems Priniples nd Prdigms Mrten vn Steen VU Amsterdm, Dept. Computer Siene steen@s.vu.nl Chpter 11: Distriuted File Systems Version: Deemer 10, 2012 2 / 14 Distriuted File Systems Distriuted

More information

Midterm Exam CSC October 2001

Midterm Exam CSC October 2001 Midterm Exm CSC 173 23 Otoer 2001 Diretions This exm hs 8 questions, severl of whih hve suprts. Eh question indites its point vlue. The totl is 100 points. Questions 5() nd 6() re optionl; they re not

More information

Kinetic Collision Detection: Algorithms and Experiments

Kinetic Collision Detection: Algorithms and Experiments Kineti Collision Detetion: Algorithms n Experiments Leonis J. Guis Feng Xie Li Zhng Computer Siene Deprtment, Stnfor University Astrt Effiient ollision etetion is importnt in mny rooti tsks, from high-level

More information

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book inl xm Review 06 M 236 e sure to loo over ll of your tests, s well s over the tivities you did in the tivity oo 1 1. ind the mesures of the numered ngles nd justify your wor. Line j is prllel to line.

More information

[SYLWAN., 158(6)]. ISI

[SYLWAN., 158(6)]. ISI The proposl of Improved Inext Isomorphi Grph Algorithm to Detet Design Ptterns Afnn Slem B-Brhem, M. Rizwn Jmeel Qureshi Fulty of Computing nd Informtion Tehnology, King Adulziz University, Jeddh, SAUDI

More information

Introduction to Algebra

Introduction to Algebra INTRODUCTORY ALGEBRA Mini-Leture 1.1 Introdution to Alger Evlute lgeri expressions y sustitution. Trnslte phrses to lgeri expressions. 1. Evlute the expressions when =, =, nd = 6. ) d) 5 10. Trnslte eh

More information

Polygonal Approximation of Voronoi Diagrams of a Set of Triangles in Three Dimensions Marek Teichmann Seth Teller MIT Computer Graphics Group Abstract

Polygonal Approximation of Voronoi Diagrams of a Set of Triangles in Three Dimensions Marek Teichmann Seth Teller MIT Computer Graphics Group Abstract Polygonl Approximtion of Voronoi Digrms of Set of Tringles in Three Dimensions Mrek Teihmnn Seth Teller MIT Computer Grphis Group Astrt We desrie roust dptive mrhing tetrhedr type lgorithm for onstruting

More information

Quadrilateral and Tetrahedral Mesh Stripification Using 2-Factor Partitioning of the Dual Graph

Quadrilateral and Tetrahedral Mesh Stripification Using 2-Factor Partitioning of the Dual Graph The Visul omputer mnusript No. (will e inserted y the editor) Plo Diz-Gutierrez M. Gopi Qudrilterl nd Tetrhedrl Mesh Stripifition Using 2-Ftor Prtitioning of the Dul Grph strt In order to find 2-ftor of

More information

Using SIMD Registers and Instructions to Enable Instruction-Level Parallelism in Sorting Algorithms

Using SIMD Registers and Instructions to Enable Instruction-Level Parallelism in Sorting Algorithms Using SIMD Registers n Instrutions to Enle Instrution-Level Prllelism in Sorting Algorithms Timothy Furtk furtk@s.ulert. José Nelson Amrl mrl@s.ulert. Roert Niewiomski niewio@s.ulert. Deprtment of Computing

More information

WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS

WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS WS3-1 WS3-2 Workshop Ojetives Moel simple frme struture using geometri urves n 1D Br elements. The frme moel is to e onstrine using pin restrints,

More information

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014.

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014. omputer Networks 9/29/2014 IP Pket Formt Internet Routing Ki Shen IP protool version numer heder length (words) for qulity of servie mx numer remining hops (deremented t eh router) upper lyer protool to

More information

Using Red-Eye to improve face detection in low quality video images

Using Red-Eye to improve face detection in low quality video images Using Re-Eye to improve fe etetion in low qulity vieo imges Rihr Youmrn Shool of Informtion Tehnology University of Ottw, Cn youmrn@site.uottw. Any Aler Shool of Informtion Tehnology University of Ottw,

More information

12/9/14. CS151 Fall 20124Lecture (almost there) 12/6. Graphs. Seven Bridges of Königsberg. Leonard Euler

12/9/14. CS151 Fall 20124Lecture (almost there) 12/6. Graphs. Seven Bridges of Königsberg. Leonard Euler CS5 Fll 04Leture (lmost there) /6 Seven Bridges of Königserg Grphs Prof. Tny Berger-Wolf Leonrd Euler 707-783 Is it possile to wlk with route tht rosses eh ridge e Seven Bridges of Königserg Forget unimportnt

More information

FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE

FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN 2320-7345 FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE 1 M.JothiLkshmi, M.S., M.Phil. 2 C.Theeendr, M.S., M.Phil. 3 M.K.Pvithr,

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

CS-184: Computer Graphics. Today. Clipping. Hidden Surface Removal. Tuesday, October 7, Clipping to view volume Clipping arbitrary polygons

CS-184: Computer Graphics. Today. Clipping. Hidden Surface Removal. Tuesday, October 7, Clipping to view volume Clipping arbitrary polygons CS184: Computer Grphics Lecture #10: Clipping nd Hidden Surfces Prof. Jmes O Brien University of Cliforni, Berkeley V2008S101.0 1 Tody Clipping Clipping to view volume Clipping ritrry polygons Hidden Surfce

More information

Distributed Systems Principles and Paradigms

Distributed Systems Principles and Paradigms Distriuted Systems Priniples nd Prdigms Christoph Dorn Distriuted Systems Group, Vienn University of Tehnology.dorn@infosys.tuwien..t http://www.infosys.tuwien..t/stff/dorn Slides dpted from Mrten vn Steen,

More information

WORKSHOP 8B TENSION COUPON

WORKSHOP 8B TENSION COUPON WORKSHOP 8B TENSION COUPON WS8B-2 Workshop Ojetives Prtie reting n eiting geometry Prtie mesh seeing n iso meshing tehniques. WS8B-3 Suggeste Exerise Steps 1. Crete new tse. 2. Crete geometry moel of the

More information

Error Numbers of the Standard Function Block

Error Numbers of the Standard Function Block A.2.2 Numers of the Stndrd Funtion Blok evlution The result of the logi opertion RLO is set if n error ours while the stndrd funtion lok is eing proessed. This llows you to rnh to your own error evlution

More information

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin

More information

Fault tree conversion to binary decision diagrams

Fault tree conversion to binary decision diagrams Loughorough University Institutionl Repository Fult tree onversion to inry deision digrms This item ws sumitted to Loughorough University's Institutionl Repository y the/n uthor. Cittion: ANDREWS, J.D.

More information

Slides for Data Mining by I. H. Witten and E. Frank

Slides for Data Mining by I. H. Witten and E. Frank Slides for Dt Mining y I. H. Witten nd E. Frnk Simplicity first Simple lgorithms often work very well! There re mny kinds of simple structure, eg: One ttriute does ll the work All ttriutes contriute eqully

More information

SAS Event Stream Processing 5.1: Using SAS Event Stream Processing Studio

SAS Event Stream Processing 5.1: Using SAS Event Stream Processing Studio SAS Event Strem Proessing 5.1: Using SAS Event Strem Proessing Stuio Overview to SAS Event Strem Proessing Stuio Overview SAS Event Strem Proessing Stuio is we-se lient tht enles you to rete, eit, uplo,

More information