Department of Computer Science and Engineering Bangladesh University of Engineering and Technology Md. Emran Chowdhury Department of CSE Northern University.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

Rahnuma Islam Nishat Debajyoti Mondal Md. Saidur Rahman Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering.
Cpt S 223 – Advanced Data Structures Graph Algorithms: Introduction
Graphs CSCI 2720 Spring 2005.
Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Chapter 4 Retiming.
Planar Orientations Chapter 4 ( ) in the book Written By: Tomer Heber.
Discrete Math for Computer Science. Mathematical Model Real-world Problem Computerized Solution Abstract Model Transformed Model picture of the real worldpicture.
Spine Crossing Minimization in Upward Topological Book Embeddings Tamara Mchedlidze, Antonios Symvonis Department of Mathematics, National Technical University.
GD 2011September 21, 2011 Stephane Durocher Debajyoti Mondal Md. Saidur Rahman Sue Whitesides Rahnuma Islam Nishat Dept. of Computer Science and Engg.
Seminar Graph Drawing H : Introduction to Graph Drawing Jesper Nederlof Roeland Luitwieler.
Chapter 3 The Greedy Method 3.
Directed Graphs. Given vertices u and v of a digraph G , we say that u reaches v (and v is reachable from u ) if G  has a directed path from u to.
Debajyoti Mondal, Rahnuma Islam Nishat, Md. Saidur Rahman and Md. Jawaherul Alam Graph Drawing and Information Visualization Laboratory Department of Computer.
Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering Bangladesh University of Engineering and Technology.
Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs Sudip Biswas Debajyoti Mondal Rahnuma Islam Nishat Md. Saidur Rahman Graph Drawing and.
1 Debajyoti Mondal 2 Rahnuma Islam Nishat 2 Sue Whitesides 3 Md. Saidur Rahman 1 University of Manitoba, Canada 2 University of Victoria, Canada 3 Bangladesh.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
WALCOM 2012February 16, 2012 Stephane Durocher Debajyoti Mondal Department of Computer Science University of Manitoba.
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
Rectangle Visibility Graphs: Characterization, Construction, Compaction Ileana Streinu (Smith) Sue Whitesides (McGill U.)
Improving code generation. Better code generation requires greater context Over expressions: optimal ordering of subtrees Over basic blocks: Common subexpression.
Graphic Tool for Computer Chip Layout Laura McLane Saint Michael’s College Advisor: Joanna Ellis-Monaghan.
CSE 6405 Graph Drawing Text Books T. Nishizeki and M. S. Rahman, Planar Graph Drawing, World Scientific, Singapore, G. Di Battista,
Data Representation using Graphs Hoang Dang. Motivation.
The Fundamentals: Algorithms, the Integers & Matrices.
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Learning Objectives for Section 2.1 Functions
GRAPH Learning Outcomes Students should be able to:
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
CAFE router: A Fast Connectivity Aware Multiple Nets Routing Algorithm for Routing Grid with Obstacles Y. Kohira and A. Takahashi School of Computer Science.
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
MA/CSSE 473 Day 12 Insertion Sort quick review DFS, BFS Topological Sort.
Department of Computer Science A Static Program Analyzer to increase software reuse Ramakrishnan Venkitaraman and Gopal Gupta.
Straight line drawings of planar graphs – part II Roeland Luitwieler.
1 Orthogonal Drawing (continued)  Sections 8.3 – 8.5 from the book  Bert Spaan.
Advanced Seminar on Graph Drawing – Planar Orientations Olga Maksin Victor Makarenkov Department of Computer Science. Ben-Gurion University of the Negev.
GD 2014 September 26, 2014 Department of Computer Science University of Manitoba Stephane Durocher Debajyoti Mondal.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Graph.
WADS 2013 August 12, 2013 Department of Computer Science University of Manitoba Stephane Durocher Debajyoti Mondal.
Sudip Biswas 1, Stephane Durocher 2, Debajyoti Mondal 2 and Rahnuma Islam Nishat 3 Hamiltonian Paths and Cycles in Planar Graphs 1 Department of Computer.
Department of Computer Science and Engineering Bangladesh University of Engineering and Technology M. Sc. Engg. Thesis Md. Emran Chowdhury ( P)
Graph Data Management Lab, School of Computer Science Add title here: Large graph processing
CCCG 2014 August 11, 2014 Department of Computer Science University of Manitoba Stephane Durocher Debajyoti Mondal.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
1 Double-Patterning Aware DSA Template Guided Cut Redistribution for Advanced 1-D Gridded Designs Zhi-Wen Lin and Yao-Wen Chang National Taiwan University.
Algorithms and Networks
Graph Drawing.
Relating Graph Thickness to Planar Layers and Bend Complexity
Drawing Plane Triangulations with Few Segments
GRAPHS Lecture 16 CS2110 Fall 2017.
Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Topological Sort CSE 373 Data Structures Lecture 19.
Degree Sequences & Digraphs
Decision Maths Graphs.
Graphs G = (V, E) V are the vertices; E are the edges.
Graph Algorithms: Shortest Path
Introduction to Graph drawing
GRAPHS Lecture 17 CS2110 Spring 2018.
Identifying Functions
Graph Theory: Degree Sequences and Digraphs
Agenda Review Lecture Content: Shortest Path Algorithm
Presentation transcript:

Department of Computer Science and Engineering Bangladesh University of Engineering and Technology Md. Emran Chowdhury Department of CSE Northern University Bangladesh Muhammad Jawaherul Alam Md. Saidur Rahman 6 th International Conference on Electrical & Computer Engineering (ICECE) 2010

2 ▒ Problem Definition Contents ▒ Motivation ▒ Previous Results and Our Results ▒ Upward Point-Set Embedding ▒ Conclusion and Future Works

3 Point-Set Embedding a c b d f e S a c b d f e G Each vertex is placed at a distinct point Input

4 f c b d a e a c b d f e S G Point-Set Embedding Each vertex is placed at a distinct point Each edge is drawn by straight or poly line Output Bend

Upward Point-Set Embedding f c b d a e a c b d f e S G Each edge is drawn upward Input Each vertex is placed at a distinct point Output

6 Each edge is drawn upward Upward Point-Set Embedding a c b d f e G’ S f c b d a e a c b d f e G a c b d f e G S f c b d a e f c b d a e S G’ has no upward point-set embedding on S Not every graph has upward point-set embedding on a fixed point-set

a c d b Upward Point-Set Embedding with mapping a c d b S G φ

8 a c d b S G a c d b φ a c b d S φ’φ’ No upward point-set embedding with this mapping Upward Point-Set Embedding with mapping Finding upward point-set embedding with mapping is a real challenge

9 ▒ Problem Definition Contents ▒ Motivation

10 visual analysis of self-modifiable code, based on computing a sequence of drawings whose edges are defined at run-time [Hal91] Motivation Upward Point-set Embedding with mapping That alters its own instructions while it is executing-usually to reduce the instruction path length and improve performance.

11 Motivation The graphs are specified one at a time The vertex locations for the output graphs are determined by the first graph

12 Motivation In VLSI layout, we often want to find point-set embeddings of planar graphs with fewer bends.

13 ▒ Problem Definition Contents ▒ Motivation ▒ Previous Results and Our Results

14 Previous Results and Our Results Problem Graph class Authors Results Giordano et. al. ’07 upward point-set embedding Upward planar digraphs at most two bends per edge Giordano, Liotta, and Whiteside ’09 upward point-set embedding with mapping Upward planar digraphs at most 2n-3 bends per edge This Paper upward point-set embedding with mapping Upward planar digraphs at most n-3 bends per edge upper bound on total number of bends Upward Point-Set Embedding

15 ▒ Problem Definition Contents ▒ Motivation ▒ Previous Results and Our Results ▒ Upward Point-Set Embedding

16 Upward Point-Set Embedding SG Input Upward Topological Book Embedding v1v1 v3v3 v4v4 v2v2 v5v v1v1 v3v3 v4v4 v2v2 v5v Upward Point-set Embedding

17 a c b d Upward Topological Book Embedding a c d b S G Spine Left Page Right Page The vertices on the spine The edges on the pages Digraph Upward Topological Book Embedding

18 G contains directed hamiltonian path A directed path containing all the vertices Upward Topological Book Embedding

19 G contains directed hamiltonian path Upward Topological Book Embedding

Upward Topological Book Embedding

Upward Topological Book Embedding

Upward Topological Book Embedding The drawing ….. has no edge crossings since it has the same embeddingas the original graph has no spine crossing has 1 bend per edge

23 G does not contain directed Hamiltonian path a b c d e Upward Topological Book Embedding

24 a b c d e Upward Topological Book Embedding G does not contain directed Hamiltonian path

25 a b c d e Upward Topological Book Embedding G does not contain directed Hamiltonian path

26 a b c d e a b c d e Upward Topological Book Embedding

a b c d e a b c d e Upward Topological Book Embedding Input digraph Each spine crossing corresponds to a dummy vertex

28 Calculation of number of Bends i i+1 i+2 j-2 j-1 j Spine crossing from i to j is at most j-i-2

29 Calculation of number of Bends Spine crossing from i to j is at most j-i-2 Spine Crossings per edge is at most (n-1)-1-2 = n-4 or n-2-2 = n n-3 n-2 n-1 n The edge (1, n) has no crossings

30 Calculation of number of Bends Spine crossing from i to j is at most j-i-2 The edge (1, n) has no crossings Bends per edge is at most n-3 Spine Crossings per edge is at most (n-1)-1-2 = n-4 or n-2-2 = n-4

31 Calculation of number of Bends Spine crossing from i to j is at most j-i-2 The edge (1, n) has no crossings Bends per edge is at most n-3 n-4 spine crossings edge (1, n-1) edge (2, n) n-5 spine crossings edge (1, n-2) edge (2, n-1) edge (3, n) Spine Crossings per edge is at most (n-1)-1-2 = n-4 or n-2-2 = n-4 Total number of spine crossings =2(n-4)+3(n-5)+... +k(n-2-k)+p(n-3-k) where p, k are integers Number of edges which crosses the spine={k(k+1)/2}-1+p

32 ▒ Problem Definition Contents ▒ Motivation ▒ Previous Results and Our Results ▒ Upward Point-Set Embedding ▒ Conclusion and Future Works

33 Conclusion upward planar digraph n-3 bends per edge Quadratic

34 Design a fast algorithm for checking upward point-set embedding Minimize the number of bends in upward point-set embedding Future Works

35 ThankYou

36 Pseudo-code example repeat N times { if STATE is 1 increase A by 1 else decrease A by 1 do something with A } repeat N times { increase A by 1 do something with A } when STATE has to switch { replace the op-code increase above with the op-code to decrease }

37 Assembly style self-modifying code 1.Optimization of a state dependant loop. 2. Runtime code generation, or specialization of an algorithm in runtime or load time (which is popular, for example in the domain of real-time graphics). 3. Altering of in lined state of an object, or simulating the high level construction of closures. 4. Patching of subroutine address calling, as done usually at load time of dynamic libraries. Whether this is regarded 'self-modifying code' or not is a case of terminology.