Touring a Sequence of Polygons

Size: px
Start display at page:

Download "Touring a Sequence of Polygons"

Transcription

1 Tourng a Sequence of Polygon Mohe Dror Alon Efrat Anna Lubw Joe Mtchell Unverty of Arzona Unverty of Arzona Unverty of Waterloo Stony Brook Unverty

2 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 P 1 P 2 t

3 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 P 1 P 2 t

4 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 - the path may be contraned by fence P 1 P 2 F 3 P 4 t'

5 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 - the path may be contraned by fence P 1 P 2 F 3 P 4 t'

6 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 - the path may be contraned by fence - only polygon facade mut be convex P 1 P 2 F 3 P 4 t'

7 Tourng Polygon Problem Gven: a equence of convex polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, and end at t P 3 - the path may be contraned by fence - only polygon facade mut be convex P 1 P 2 P 4 F 3 - polygon may nterect t' P 5

8 Our Algorthm n = ze of polygon and fence k = number of polygon uncontraned Tourng Polygon Problem (TPP) wth djont convex polygon general TPP P 3 P 3 P 1 P 2 F 3 P 1 P 2 t P 5 P 4 t' 2 O(kn log n) O(k n log n) for fxed, hortet path quere take O(k log n + output-ze)

9 Applcaton: part cuttng

10 Applcaton: part cuttng TPP djont convex polygon no fence ("uncontraned")

11 Applcaton: part cuttng O(kn log n) k = number of polygon n = total ze

12 Applcaton: afar problem

13 Applcaton: afar problem TPP djont convex polygon polygon order wth fence

14 Applcaton: afar problem problem from Ntafo `92 3 O(n ) `92 2 O(n ) `94 O(n 3 ) Tan and Hrata `01 2 O(n log n)

15 Applcaton: zookeeper problem TPP djont convex polygon polygon order wth fence

16 Applcaton: zookeeper problem problem from Chn and Ntafo `92 O(n log n) Bepamyatnkh `02

17 Applcaton: watchman route problem

18 Applcaton: watchman route problem eental pocket TPP polygon = eental pocket polygon order wth fence

19 Applcaton: watchman route problem problem from Chn and Ntafo `91 4 O(n ) `91 O(n 4 ) Tan, Hrata, Inagak `99 3 O(n log n)

20 Idea of Algorthm: (1) Local Optmalty a path locally optmal f movng any one bend of the path doe not mprove t a

21 Idea of Algorthm: (1) Local Optmalty a path locally optmal f movng any one bend of the path doe not mprove t a b

22 Idea of Algorthm: (1) Local Optmalty a path locally optmal f movng any one bend of the path doe not mprove t a b

23 Idea of Algorthm: (1) Local Optmalty a path locally optmal f movng any one bend of the path doe not mprove t a

24 Idea of Algorthm: (1) Local Optmalty a path locally optmal f movng any one bend of the path doe not mprove t Theorem. Locally optmal = globally optmal for TPP. Proof: Theorem. A locally optmal path unque.

25 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path u v

26 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path, q q u v

27 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path u v, v, q q

28 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path u v q, (u,v), q

29 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path u v

30 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path q u v

31 Idea of Algorthm: (2) Shortet Path Map hortet path map: dvde plane nto regon by combnatorc of hortet path u v q

32 Shortet Path Map Theorem: The wort-cae complexty of the hortet path map k ((n k) 2 )

33 Shortet Path Map Theorem: The wort-cae complexty of the hortet path map O((n k) 2 k ). We can compute t n output entve tme, then do effcent quere. (For the zoo-keeper problem, the hortet path map ha polynomal ze.)

34 Shortet Path Map lat tep hortet path map: dvde plane nto regon by combnatorc of lat tep of hortet path x u v y

35 Shortet Path Map lat tep hortet path map: dvde plane nto regon by combnatorc of lat tep of hortet path x through u v y

36 Shortet Path Map lat tep hortet path map: dvde plane nto regon by combnatorc of lat tep of hortet path x u v bounce (x,y) y

37 Shortet Path Map anwerng quere ung the lat tep hortet path map x through u v q y

38 Shortet Path Map anwerng quere ung the lat tep hortet path map u v q

39 Shortet Path Map anwerng quere ung the lat tep hortet path map u v q

40 Shortet Path Map anwerng quere ung the lat tep hortet path map Example 2 x q q' u v bounce (x,y) y

41 Shortet Path Map anwerng quere ung the lat tep hortet path map Example 2 q' u v

42 Shortet Path Map anwerng quere ung the lat tep hortet path map Example 2 q q' u v

43 Shortet Path Map anwerng quere ung the lat tep hortet path map Example 2 q q' u v

44 Shortet Path Map Lemma: Ung lat tep hortet path map, we can anwer hortet path quere n O(k log n).

45 Idea of Algorthm: (1) Local Optmalty (2) Lat Step Shortet Path Map

46 Uncontraned TPP for djont convex polygon R 1 u T 1 v w T frt contact et of hortet path, P,..., P 1 1 R hortet path ray leavng P wth P

47 Uncontraned TPP for djont convex polygon R 2 x u v w y T 2 z T frt contact et of hortet path, P,..., P 1 1 R hortet path ray leavng P wth P

48 Uncontraned TPP for djont convex polygon R 2 x Structural Reult u v w y Lemma: T a chan on the boundary of P. T 2 z Lemma: R a tarburt.e. there a unque ray to every pont of the plane. Corollary: Locally hortet path are unque. T frt contact et of hortet path, P,..., P 1 wth P R hortet path ray leavng P 1

49 Uncontraned TPP for djont convex polygon u v w R 2 T frt contact et wth P R ray leavng P T 2 x y z Algorthm T 0 = for = 1.. k compute T and R for each vertex v of P fnd d -1 (v) f t arrve at v from outde P then v a vertex of T ue d -1 (v) to compute ray of R at v d (v) = hortet path, P 1,.., P, v

50 Uncontraned TPP for djont convex polygon Analy - hortet path query: O(k log n) - algorthm total: O(n k log n) Algorthm T 0 = for = 1.. k compute T and R for each vertex v of P fnd d -1 (v) f t arrve at v from outde P then v a vertex of T ue d -1 (v) to compute ray of R at v d (v) = hortet path, P 1,.., P, v

51 General TPP: local optmalty fence nterectng polygon

52 General TPP: local optmalty fence nterectng polygon

53 General TPP: local optmalty fence nterectng polygon

54 General TPP: local optmalty fence nterectng polygon

55 General TPP: fence R 1 u v w A 1 v

56 General TPP: nterectng polygon R 1 T 1 T frt contact et of hortet path, P,..., P 1 1 R hortet path ray leavng P wth P

57 General TPP: nterectng polygon T 2 x y R 2 T frt contact et of hortet path, P,..., P 1 1 R hortet path ray leavng P wth P

58 General TPP Structural Reult T 2 Lemma: T a tree. x y Lemma: R a tarburt.e. there a unque ray to every pont of the plane. R 2 Cor. Locally hortet path are unque. T frt contact et of hortet path, P,..., P 1 wth P R hortet path ray leavng P 1 A ray arrvng at P +1 after travellng through fence F

59 General TPP Algorthm T 2 x y T =, R = all ray from 0 0 A = ray nde F 0 0 for = 1.. k compute T, R, and A R 2 O(nk 2log n) T frt contact et wth P R ray leavng P A ray arrvng at P +1 d (v) = hortet path, P 1,.., P, v after travellng through fence F

60 Extenon remnder of TPP: Gven: a equence of pobly nterectng, convex [facade] polygon, a tart pont and a target pont t Fnd: a hortet path that tart at, vt the polygon n equence, repectng the fence, and end at t non-convex polygon Theorem. TPP NP-hard for non-convex polygon (even wthout fence). Proof. From 3-SAT, baed on a careful adaptaton of the Canny-Ref proof.

61 Extenon TPP a a 3-D hortet path problem. Thu there a fully polynomal tme approxmaton cheme (even for non-convex polygon).

62 Extenon TPP a a 3-D hortet path problem. t Thu there a fully polynomal tme approxmaton cheme (even for non-convex polygon).

63 Extenon TPP a a 3-D hortet path problem. t Thu there a fully polynomal tme approxmaton cheme (even for non-convex polygon).

64 Extenon Open. What the complexty of TPP for djont non-convex polygon.

65 The End

Touring a Sequence of Polygons

Touring a Sequence of Polygons Touring a Sequence of Polygon Mohe Dror (1) Alon Efrat (1) Anna Lubiw (2) Joe Mitchell (3) (1) Univerity of Arizona (2) Univerity of Waterloo (3) Stony Brook Univerity Problem: Given a equence of k polygon

More information

Touring a Sequence of Polygons

Touring a Sequence of Polygons Touring a Sequence of Polygon Mohe Dror (1) Alon Efrat (1) Anna Lubiw (2) Joe Mitchell (3) (1) Univerity of Arizona (2) Univerity of Waterloo (3) Stony Brook Univerity Problem: Given a equence of k polygon

More information

Open Access A New Algorithm for the Shortest Path of Touring Disjoint Convex Polygons

Open Access A New Algorithm for the Shortest Path of Touring Disjoint Convex Polygons Send Orders for Reprnts to reprnts@benthamscence.ae 1364 The Open Automaton and Control Systems Journal, 2015, 7, 1364-1368 Open Access A New Algorthm for the Shortest Path of Tourng Dsjont Convex Polygons

More information

Touring a Sequence of Polygons Moshe Dror Alon Efrat Anna Lubiw Joe Mitchell

Touring a Sequence of Polygons Moshe Dror Alon Efrat Anna Lubiw Joe Mitchell Touring a Sequence of Polygons Moshe Dror Alon Efrat Anna Lubiw Joe Mitchell University of Arizona University of Waterloo Stony Brook University Problem: Given a sequence of polygons in the plane, a start

More information

The Touring Polygons Problem (TPP)

The Touring Polygons Problem (TPP) The Touring Polygons Problem (TPP) [Dror-Efrat-Lubiw-M]: Given a sequence of k polygons in the plane, a start point s, and a target point, t, we seek a shortest path that starts at s, visits in order each

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

Touring a Sequence of Line Segments in Polygonal Domain Fences

Touring a Sequence of Line Segments in Polygonal Domain Fences Touring a Sequence of Line Segments in Polygonal Domain Fences Amirhossein Mozafari mozafari@alum.sharif.edu Alireza Zarei zarei@sharif.edu Abstract In this paper, we consider the problem of touring a

More information

An Approximate Algorithm for Solving the Watchman Route Problem

An Approximate Algorithm for Solving the Watchman Route Problem An Approximate Algorithm for Solving the Watchman Route Problem Fajie Li and Reinhard Klette 1 Institute for Mathematics and Computing Science, University of Groningen P.O. Box 800, 9700 AV Groningen,

More information

Lecture 14: Minimum Spanning Tree I

Lecture 14: Minimum Spanning Tree I COMPSCI 0: Deign and Analyi of Algorithm October 4, 07 Lecture 4: Minimum Spanning Tree I Lecturer: Rong Ge Scribe: Fred Zhang Overview Thi lecture we finih our dicuion of the hortet path problem and introduce

More information

On The Watchman Route Problem and Its Related Problems Dissertation Proposal

On The Watchman Route Problem and Its Related Problems Dissertation Proposal On The Watchman Route Problem and Its Related Problems Dissertation Proposal Ning Xu The Graduate Center, The City University of New York 1 / 27 Outlines Introduction References Introduction The Watchman

More information

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems

More information

Contents. shortest paths. Notation. Shortest path problem. Applications. Algorithms and Networks 2010/2011. In the entire course:

Contents. shortest paths. Notation. Shortest path problem. Applications. Algorithms and Networks 2010/2011. In the entire course: Content Shortet path Algorithm and Network 21/211 The hortet path problem: Statement Verion Application Algorithm (for ingle ource p problem) Reminder: relaxation, Dijktra, Variant of Dijktra, Bellman-Ford,

More information

Near Pole Polar Diagram of Points and its Duality with Applications

Near Pole Polar Diagram of Points and its Duality with Applications Near Pole Polar Dagram of Pont and t Dualty wth Applcaton ABTRACT Bahram adegh Bgham, Al Mohade Receved Augut 007; receved n reved December 008; accepted 7 January 00 In th paper we propoe a new approach

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

Graph-Based Fast Image Segmentation

Graph-Based Fast Image Segmentation Graph-Baed Fat Image Segmentaton Dongfeng Han, Wenhu L, Xaouo Lu, Ln L, and Y Wang College of Computer Scence and Technology, Key Laboratory of Symbol Computaton and Knowledge Engneerng of the Mntry of

More information

Forward Kinematics 1

Forward Kinematics 1 Forward Knemat lnk 2 Lnk and Jont jont 3 jont 4 jont n- jont n jont lnk 3... lnk n- lnk lnk n jont 2 lnk n jont, n + lnk lnk fxed (the bae) q d revolute prmat jont onnet lnk to lnk lnk move when jont atuated

More information

Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons

Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons CCCG 2010, Winnipeg MB, August 9 11, 2010 Approximate Shortest Path Algorithms for Sequences of Pairwise Disjoint Simple Polygons Xiuxia Pan, Fajie Li Reinhard Klette Abstract Assume that two points p

More information

Shortest Paths with Single-Point Visibility Constraint

Shortest Paths with Single-Point Visibility Constraint Shortet Path with Single-Point Viibility Contraint Ramtin Khoravi Mohammad Ghodi Department of Computer Engineering Sharif Univerity of Technology Abtract Thi paper tudie the problem of finding a hortet

More information

Approximate Algorithms for Touring a Sequence of Polygons

Approximate Algorithms for Touring a Sequence of Polygons Approximate Algorithms for Touring a Sequence of Polygons Fajie Li 1 and Reinhard Klette 2 1 Institute for Mathematics and Computing Science, University of Groningen P.O. Box 800, 9700 AV Groningen, The

More information

Shortest Paths Problem. CS 362, Lecture 20. Today s Outline. Negative Weights

Shortest Paths Problem. CS 362, Lecture 20. Today s Outline. Negative Weights Shortet Path Problem CS 6, Lecture Jared Saia Univerity of New Mexico Another intereting problem for graph i that of finding hortet path Aume we are given a weighted directed graph G = (V, E) with two

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

Approximate Shortest Routes for Frontier Visibility under Limited Visibility

Approximate Shortest Routes for Frontier Visibility under Limited Visibility Approximate Shortest Routes for Frontier Visibility under Limited Visibility Xia Chen 1, Fajie Li 1, and Reinhard Klette 2 1 College of Computer Science and Technology, Huaqiao University Xiamen, Fujian,

More information

Watchman Route in a Simple Polygon with a Rubberband Algorithm

Watchman Route in a Simple Polygon with a Rubberband Algorithm Watchman Route in a Simple Polygon with a Rubberband Algorithm Fajie Li Reinhard Klette Abstract So far, the best result in running time for solving the fixed watchman route problem (i.e., shortest path

More information

Minimum-Link Watchman Tours

Minimum-Link Watchman Tours Minimum-Link Watchman Tours Esther M. Arkin Joseph S. B. Mitchell Christine D. Piatko Abstract We consider the problem of computing a watchman route in a polygon with holes. We show that the problem of

More information

Today s Outline. CS 561, Lecture 23. Negative Weights. Shortest Paths Problem. The presence of a negative cycle might mean that there is

Today s Outline. CS 561, Lecture 23. Negative Weights. Shortest Paths Problem. The presence of a negative cycle might mean that there is Today Outline CS 56, Lecture Jared Saia Univerity of New Mexico The path that can be trodden i not the enduring and unchanging Path. The name that can be named i not the enduring and unchanging Name. -

More information

xy-monotone path existence queries in a rectilinear environment

xy-monotone path existence queries in a rectilinear environment CCCG 2012, Charlottetown, P.E.I., Augut 8 10, 2012 xy-monotone path exitence querie in a rectilinear environment Gregory Bint Anil Mahehwari Michiel Smid Abtract Given a planar environment coniting of

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Barycentric Coordinates. From: Mean Value Coordinates for Closed Triangular Meshes by Ju et al.

Barycentric Coordinates. From: Mean Value Coordinates for Closed Triangular Meshes by Ju et al. Barycentrc Coordnates From: Mean Value Coordnates for Closed Trangular Meshes by Ju et al. Motvaton Data nterpolaton from the vertces of a boundary polygon to ts nteror Boundary value problems Shadng Space

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS Copng wth NP-completeness 11. APPROXIMATION ALGORITHMS load balancng center selecton prcng method: vertex cover LP roundng: vertex cover generalzed load balancng knapsack problem Q. Suppose I need to solve

More information

Graphs & Algorithms: Advanced Topics Planar Separators

Graphs & Algorithms: Advanced Topics Planar Separators Graphs & Algorithms: Advanced Topics Planar Separators Johannes Lengler, Uli Wagner ETH Zürich Separators Definition Let G = (V, E) be a graph on n vertices, f : N 0 R a function, α (0, 1) a parameter.

More information

Generic Traverse. CS 362, Lecture 19. DFS and BFS. Today s Outline

Generic Traverse. CS 362, Lecture 19. DFS and BFS. Today s Outline Generic Travere CS 62, Lecture 9 Jared Saia Univerity of New Mexico Travere(){ put (nil,) in bag; while (the bag i not empty){ take ome edge (p,v) from the bag if (v i unmarked) mark v; parent(v) = p;

More information

Delaunay Triangulation: Incremental Construction

Delaunay Triangulation: Incremental Construction Chapter 6 Delaunay Triangulation: Incremental Contruction In the lat lecture, we have learned about the Lawon ip algorithm that compute a Delaunay triangulation of a given n-point et P R 2 with O(n 2 )

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the

More information

Efficient Multiple Hypothesis Tracking by Track Segment Graph *

Efficient Multiple Hypothesis Tracking by Track Segment Graph * th Internatonal Conference on Informaton Fuon Seattle, WA, USA, July 6-9, 009 Effcent Multple Hypothe ng by Segment Graph * Chee-Yee Chong, Greg Catanon, Nathan Cooprder Shozo Mor, Rav Ravchandran BAE

More information

Graphs: Finding shortest paths

Graphs: Finding shortest paths /0/01 Graph: Finding hortet path Tecniche di Programmazione Summary Definition Floyd-Warhall algorithm Bellman-Ford-Moore algorithm Dijktra algorithm 1 /0/01 Definition Graph: Finding hortet path Definition:

More information

Sorting. Sorted Original. index. index

Sorting. Sorted Original. index. index 1 Unt 16 Sortng 2 Sortng Sortng requres us to move data around wthn an array Allows users to see and organze data more effcently Behnd the scenes t allows more effectve searchng of data There are MANY

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Clustering on antimatroids and convex geometries

Clustering on antimatroids and convex geometries Clusterng on antmatrods and convex geometres YULIA KEMPNER 1, ILYA MUCNIK 2 1 Department of Computer cence olon Academc Insttute of Technology 52 Golomb tr., P.O. Box 305, olon 58102 IRAEL 2 Department

More information

A Minimalist s Implementation of the 3-d Divide-and-Conquer Convex Hull Algorithm

A Minimalist s Implementation of the 3-d Divide-and-Conquer Convex Hull Algorithm A Minimalist s Implementation of the 3-d Divide-and-Conquer Convex Hull Algorithm Timothy M. Chan Presented by Dana K. Jansens Carleton University Simple Polygons Polygon = A consecutive set of vertices

More information

Reading. 14. Subdivision curves. Recommended:

Reading. 14. Subdivision curves. Recommended: eadng ecommended: Stollntz, Deose, and Salesn. Wavelets for Computer Graphcs: heory and Applcatons, 996, secton 6.-6., A.5. 4. Subdvson curves Note: there s an error n Stollntz, et al., secton A.5. Equaton

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method

An Accurate Evaluation of Integrals in Convex and Non convex Polygonal Domain by Twelve Node Quadrilateral Finite Element Method Internatonal Journal of Computatonal and Appled Mathematcs. ISSN 89-4966 Volume, Number (07), pp. 33-4 Research Inda Publcatons http://www.rpublcaton.com An Accurate Evaluaton of Integrals n Convex and

More information

Intersecting Simple Surfaces. Dr. Scott Schaefer

Intersecting Simple Surfaces. Dr. Scott Schaefer Intersecting Simple Surfaces Dr. Scott Schaefer 1 Types of Surfaces Infinite Planes Polygons Convex Ray Shooting Winding Number Spheres Cylinders 2/66 Infinite Planes Defined by a unit normal n and a point

More information

CERIAS Tech Report EFFICIENT PARALLEL ALGORITHMS FOR PLANAR st-graphs. by Mikhail J. Atallah, Danny Z. Chen, and Ovidiu Daescu

CERIAS Tech Report EFFICIENT PARALLEL ALGORITHMS FOR PLANAR st-graphs. by Mikhail J. Atallah, Danny Z. Chen, and Ovidiu Daescu CERIAS Tech Report 2003-15 EFFICIENT PARALLEL ALGORITHMS FOR PLANAR t-graphs by Mikhail J. Atallah, Danny Z. Chen, and Ovidiu Daecu Center for Education and Reearch in Information Aurance and Security,

More information

SPEED PLANNING AND GENERATION APPROACH BASED ON THE PATH-TIME SPACE FOR MOBILE ROBOTS.

SPEED PLANNING AND GENERATION APPROACH BASED ON THE PATH-TIME SPACE FOR MOBILE ROBOTS. SPEED PLNNING ND GENERTION PPROCH BSED ON THE PTH-TIME SPCE FOR MOBILE ROBOTS. V. Muñoz,. Cruz and. García-Cerezo Dpto. De Ingenería de Stema y utomátca. Unverdad de Málaga. Plaza el Ejdo /n, 93 Málaga

More information

Shortest Paths in Directed Graphs

Shortest Paths in Directed Graphs Shortet Path in Direted Graph Jonathan Turner January, 0 Thi note i adapted from Data Struture and Network Algorithm y Tarjan. Let G = (V, E) e a direted graph and let length e a real-valued funtion on

More information

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION 24 CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION The present chapter proposes an IPSO approach for multprocessor task schedulng problem wth two classfcatons, namely, statc ndependent tasks and

More information

5 The Primal-Dual Method

5 The Primal-Dual Method 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton

More information

Scan Conversion & Shading

Scan Conversion & Shading Scan Converson & Shadng Thomas Funkhouser Prnceton Unversty C0S 426, Fall 1999 3D Renderng Ppelne (for drect llumnaton) 3D Prmtves 3D Modelng Coordnates Modelng Transformaton 3D World Coordnates Lghtng

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

F Geometric Mean Graphs

F Geometric Mean Graphs Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.

More information

Scan Conversion & Shading

Scan Conversion & Shading 1 3D Renderng Ppelne (for drect llumnaton) 2 Scan Converson & Shadng Adam Fnkelsten Prnceton Unversty C0S 426, Fall 2001 3DPrmtves 3D Modelng Coordnates Modelng Transformaton 3D World Coordnates Lghtng

More information

CSE 326: Data Structures Quicksort Comparison Sorting Bound

CSE 326: Data Structures Quicksort Comparison Sorting Bound CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson

More information

Machine Learning 9. week

Machine Learning 9. week Machne Learnng 9. week Mappng Concept Radal Bass Functons (RBF) RBF Networks 1 Mappng It s probably the best scenaro for the classfcaton of two dataset s to separate them lnearly. As you see n the below

More information

The Art Gallery Problem

The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. Computational Geometry [csci 3250] The Art Gallery Problem Laura Toma Bowdoin

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

Routing Definition 4.1

Routing Definition 4.1 4 Routing So far, we have only looked at network without dealing with the iue of how to end information in them from one node to another The problem of ending information in a network i known a routing

More information

Computational Geometry [csci 3250]

Computational Geometry [csci 3250] Computational Geometry [csci 3250] Laura Toma Bowdoin College The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the

More information

Ma/CS 6b Class 11: Kuratowski and Coloring

Ma/CS 6b Class 11: Kuratowski and Coloring Ma/CS 6b Class 11: Kuratowski and Coloring By Adam Sheffer Kuratowski's Theorem Theorem. A graph is planar if and only if it does not have K 5 and K 3,3 as topological minors. We know that if a graph contains

More information

Brief Announcement: Distributed 3/2-Approximation of the Diameter

Brief Announcement: Distributed 3/2-Approximation of the Diameter Brief Announcement: Ditributed /2-Approximation of the Diameter Preliminary verion of a brief announcement to appear at DISC 14 Stephan Holzer MIT holzer@mit.edu David Peleg Weizmann Intitute david.peleg@weizmann.ac.il

More information

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem Chapter 8 Voronoi Diagrams 8.1 Post Oce Problem Suppose there are n post oces p 1,... p n in a city. Someone who is located at a position q within the city would like to know which post oce is closest

More information

Recap: rigid motions

Recap: rigid motions Forward and Invere Knemat Chapter 3 Had Morad (orgnal lde by Steve from Harvard) Reap: rgd moton Rgd moton a ombnaton of rotaton and tranlaton Defned by a rotaton matrx (R) and a dplaement vetor (d) the

More information

Form-factors Josef Pelikán CGG MFF UK Praha.

Form-factors Josef Pelikán CGG MFF UK Praha. Form-factors 1996-2016 Josef Pelkán CGG MFF UK Praha pepca@cgg.mff.cun.cz http://cgg.mff.cun.cz/~pepca/ FormFactor 2016 Josef Pelkán, http://cgg.mff.cun.cz/~pepca 1 / 23 Form-factor F It ndcates the proporton

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( ) The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

Conditional Speculative Decimal Addition*

Conditional Speculative Decimal Addition* Condtonal Speculatve Decmal Addton Alvaro Vazquez and Elsardo Antelo Dep. of Electronc and Computer Engneerng Unv. of Santago de Compostela, Span Ths work was supported n part by Xunta de Galca under grant

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( ) 1 The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

A New Exact Algorithm for Traveling Salesman Problem with Time Complexity Interval (O(n^4), O(n^3 2^n))

A New Exact Algorithm for Traveling Salesman Problem with Time Complexity Interval (O(n^4), O(n^3 2^n)) A New Exact Algorthm for Travelng Salesman roblem wth Tme Complexty Interval (O(n^4), O(n^3 2^n)) 39 YUNENG LI, Southeast Unversty Travelng salesman problem s a N-hard problem. Untl now, researchers have

More information

Progressive Hedging In Parallel

Progressive Hedging In Parallel Progreve Hedgng In Parallel Mchael Somervell Department of Engneerng Scence Unverty of Auckland New Zealand Abtract The Progreve Hedgng Algorthm (PHA) a technque for olvng lnear dcrete tochatc program.

More information

Planar graphs. Chapter 8

Planar graphs. Chapter 8 Chapter 8 Planar graphs Definition 8.1. A graph is called planar if it can be drawn in the plane so that edges intersect only at vertices to which they are incident. Example 8.2. Different representations

More information

Geometric Unique Set Cover on Unit Disks and Unit Squares

Geometric Unique Set Cover on Unit Disks and Unit Squares CCCG 2016, Vancouver, British Columbia, August 3 5, 2016 Geometric Unique Set Cover on Unit Disks and Unit Squares Saeed Mehrabi Abstract We study the Unique Set Cover problem on unit disks and unit squares.

More information

Today s Outline. CS 362, Lecture 19. DFS and BFS. Generic Traverse. BFS and DFS Wrapup Shortest Paths. Jared Saia University of New Mexico

Today s Outline. CS 362, Lecture 19. DFS and BFS. Generic Traverse. BFS and DFS Wrapup Shortest Paths. Jared Saia University of New Mexico Today Outline CS 362, Lecture 9 Jared Saia Univerity of New Mexico BFS and DFS Wrapup Shortet Path Generic Travere DFS and BFS Travere(){ put (nil,) in bag; while (the bag i not empty){ take ome edge (p,v)

More information

Dynamic Programming. Example - multi-stage graph. sink. source. Data Structures &Algorithms II

Dynamic Programming. Example - multi-stage graph. sink. source. Data Structures &Algorithms II Dynamc Programmng Example - mult-stage graph 1 source 9 7 3 2 2 3 4 5 7 11 4 11 8 2 2 1 6 7 8 4 6 3 5 6 5 9 10 11 2 4 5 12 snk Data Structures &Algorthms II A labeled, drected graph Vertces can be parttoned

More information

Concurrency: Double buffering. Semaphores. Think about non-preemptive vs. preemptive scheduling by OS

Concurrency: Double buffering. Semaphores. Think about non-preemptive vs. preemptive scheduling by OS Concurrency: Double bufferng /* Fll and empty t concurrently */ cobegn & coend pecfe concurrent Input equence f Get (,f) Get(,f); Repeat Semaphore Output equence g Put (t,g) t /* Copy */ t := ; Copy; cobegn

More information

Radial Basis Functions

Radial Basis Functions Radal Bass Functons Mesh Reconstructon Input: pont cloud Output: water-tght manfold mesh Explct Connectvty estmaton Implct Sgned dstance functon estmaton Image from: Reconstructon and Representaton of

More information

Efficient solution of the fuzzy eigenvalue problem in structural dynamics

Efficient solution of the fuzzy eigenvalue problem in structural dynamics Effcent oluton of the fuzzy egenvalue problem n tructural dynamc Y. Xa 1, M. I. Frwell 1 1 College of Engneerng, Swanea Unverty Sngleton Park, Swanea SA2 8PP, UK e-mal: y.xa@wanea.ac.uk Abtract Many analy

More information

cos(a, b) = at b a b. To get a distance measure, subtract the cosine similarity from one. dist(a, b) =1 cos(a, b)

cos(a, b) = at b a b. To get a distance measure, subtract the cosine similarity from one. dist(a, b) =1 cos(a, b) 8 Clusterng 8.1 Some Clusterng Examples Clusterng comes up n many contexts. For example, one mght want to cluster journal artcles nto clusters of artcles on related topcs. In dong ths, one frst represents

More information

EPG-representations with small grid-size

EPG-representations with small grid-size EPG-representations with small grid-size Martin Derka mderka@uwaterloo.ca David R. Cheriton School of Computer Science University of Waterloo GD 2017 September 26, 2017 Joint work with T. Biedl, V. Dujmovic,

More information

Plasma Anypath Routing in Wireless Mesh Networks

Plasma Anypath Routing in Wireless Mesh Networks Plama Anypath Routng n Wrele Meh Network Rafael Laufer, Luz Flpe M. Vera, Maro Gerla, and Leonard Klenrock Computer Scence Department Unverty of Calforna at Lo Angele uly 31, 29 Techncal Report UCLA-CSD-TR922

More information

Coloring Squared Rectangles

Coloring Squared Rectangles Coloring Squared Rectangles Mark Bun August 28, 2010 Abstract We investigate the 3-colorability of rectangles dissected into squares. Our primary result is a polynomial-time algorithm for deciding whether

More information

1 The secretary problem

1 The secretary problem Thi i new material: if you ee error, pleae email jtyu at tanford dot edu 1 The ecretary problem We will tart by analyzing the expected runtime of an algorithm, a you will be expected to do on your homework.

More information

Lesson 7.1. Angles of Polygons

Lesson 7.1. Angles of Polygons Lesson 7.1 Angles of Polygons Essential Question: How can I find the sum of the measures of the interior angles of a polygon? Polygon A plane figure made of three or more segments (sides). Each side intersects

More information

Computational Geometry

Computational Geometry Motivation Motivation Polygons and visibility Visibility in polygons Triangulation Proof of the Art gallery theorem Two points in a simple polygon can see each other if their connecting line segment is

More information

Complexity of Minimum Corridor Guarding Problems

Complexity of Minimum Corridor Guarding Problems Complexity of Minimum Corridor Guarding Problems Thesis submitted in partial fulfillment of the requirement for the degree Master of Science (Computer Science) at The City College of New York of the City

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards Nicole Chesnokov May 16, 2018 Contents 1 Introduction 2 2 The Art Gallery Problem 3 2.1 Proof..................................

More information

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University

All-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University Approxmate All-Pars shortest paths Approxmate dstance oracles Spanners and Emulators Ur Zwck Tel Avv Unversty Summer School on Shortest Paths (PATH05 DIKU, Unversty of Copenhagen All-Pars Shortest Paths

More information

6.1 Circles and Related Segments and Angles

6.1 Circles and Related Segments and Angles Chapter 6 Circles 6.1 Circles and Related Segments and Angles Definitions 32. A circle is the set of all points in a plane that are a fixed distance from a given point known as the center of the circle.

More information

Dijkstra s Single Source Algorithm. All-Pairs Shortest Paths. Dynamic Programming Solution. Performance. Decision Sequence.

Dijkstra s Single Source Algorithm. All-Pairs Shortest Paths. Dynamic Programming Solution. Performance. Decision Sequence. All-Pars Shortest Paths Gven an n-vertex drected weghted graph, fnd a shortest path from vertex to vertex for each of the n vertex pars (,). Dstra s Sngle Source Algorthm Use Dstra s algorthm n tmes, once

More information

Solving the Maximum Matching Problem on Bipartite Star123-Free Graphs in Linear Time

Solving the Maximum Matching Problem on Bipartite Star123-Free Graphs in Linear Time Open Journal of Dcrete Mathematc, 06, 6, 3-4 Publhed Onlne January 06 n ScRe http://wwwcrporg/ournal/odm http://dxdoorg/0436/odm066003 Solvng the Maxmum Matchng Problem on Bpartte Star3-Free Graph n Lnear

More information

Linear Programming in Small Dimensions

Linear Programming in Small Dimensions Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional

More information

Derrick Stolee. April 12,

Derrick Stolee. April 12, 1 / 38 University Of Nebraska Lincoln Computer Science & Mathematics April 12, 2008 s-dstolee1@math.unl.edu 2 / 38 Acknowledgments Research Assistance and Funding This research funded by UCARE USDA FCIC/RMA

More information

Minimum-Perimeter Enclosures

Minimum-Perimeter Enclosures Minimum-Perimeter Enclosures Joseph S. B. Mitchell 1 Department of Applied Mathematics and Statistics Stony Brook University Stony Brook, NY 11794-3600, USA Valentin Polishchuk Helsinki Institute for Information

More information

Jordan Curves. A curve is a subset of IR 2 of the form

Jordan Curves. A curve is a subset of IR 2 of the form Jordan Curves A curve is a subset of IR 2 of the form α = {γ(x) : x [0,1]}, where γ : [0,1] IR 2 is a continuous mapping from the closed interval [0,1] to the plane. γ(0) and γ(1) are called the endpoints

More information

Collision Detection. Overview. Efficient Collision Detection. Collision Detection with Rays: Example. C = nm + (n choose 2)

Collision Detection. Overview. Efficient Collision Detection. Collision Detection with Rays: Example. C = nm + (n choose 2) Overvew Collson detecton wth Rays Collson detecton usng BSP trees Herarchcal Collson Detecton OBB tree, k-dop tree algorthms Multple object CD system Collson Detecton Fundamental to graphcs, VR applcatons

More information

Outline. Self-Organizing Maps (SOM) US Hebbian Learning, Cntd. The learning rule is Hebbian like:

Outline. Self-Organizing Maps (SOM) US Hebbian Learning, Cntd. The learning rule is Hebbian like: Self-Organzng Maps (SOM) Turgay İBRİKÇİ, PhD. Outlne Introducton Structures of SOM SOM Archtecture Neghborhoods SOM Algorthm Examples Summary 1 2 Unsupervsed Hebban Learnng US Hebban Learnng, Cntd 3 A

More information

APPROXIMATION OF MULTIDIMENSIONAL FUNCTIONS BY RADON RADIAL BASIS NEURAL NETWORKS

APPROXIMATION OF MULTIDIMENSIONAL FUNCTIONS BY RADON RADIAL BASIS NEURAL NETWORKS Journal of Al-Nahran Unverty Vol.(, December, 7, pp.-33 Scence APPROXIMAION OF MULIDIMENSIONAL FUNCIONS BY RADON RADIAL BASIS NEURAL NEWORKS * Prof. Dr. Reyadh S. Naoum and ** Nala a M. Huen * Department

More information

Constructing Minimum Connected Dominating Set: Algorithmic approach

Constructing Minimum Connected Dominating Set: Algorithmic approach Constructng Mnmum Connected Domnatng Set: Algorthmc approach G.N. Puroht and Usha Sharma Centre for Mathematcal Scences, Banasthal Unversty, Rajasthan 304022 usha.sharma94@yahoo.com Abstract: Connected

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information