Windowing 290N: The Unknown Component Problem Lecture 10.

Slides:



Advertisements
Similar presentations
CS 336 March 19, 2012 Tandy Warnow.
Advertisements

CS 253: Algorithms Chapter 22 Graphs Credit: Dr. George Bebis.
Analysis of Algorithms CS 477/677
WSPD Applications.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
2012: J Paul GibsonT&MSP: Mathematical FoundationsMAT7003/L2-GraphsAndTrees.1 MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul Gibson,
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Depth-First Search1 Part-H2 Depth-First Search DB A C E.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture10.
CSC401 – Analysis of Algorithms Lecture Notes 14 Graph Biconnectivity
Graph Algorithms. Jaruloj Chongstitvatana Chapter 3: Greedy Algorithms 2 Outline Graph Representation Shortest path Minimum spanning trees.
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
TECH Computer Science Graphs and Graph Traversals  // From Tree to Graph  // Many programs can be cast as problems on graph Definitions and Representations.
Chapter 8, Part I Graph Algorithms.
Course Presentation: A Polynomial Kernel for Multicut in Trees, STACS 2009 Authors: Nicolas Bousquet, Jean Daligault, Stephan Thomasse, Anders Yeo Speaker:
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
1 Spanning Trees Lecture 20 CS2110 – Spring
CS2420: Lecture 13 Vladimir Kulyukin Computer Science Department Utah State University.
Network Optimization Problems: Models and Algorithms This handout: Minimum Spanning Tree Problem.
Graphs and Trees This handout: Trees Minimum Spanning Tree Problem.
Lecture 21 Trees. “ A useful data structure for many applications”
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 10 Instructor: Paul Beame.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Lecture 13 Graphs. Introduction to Graphs Examples of Graphs – Airline Route Map What is the fastest way to get from Pittsburgh to St Louis? What is the.
Software Testing and Maintenance Lecture 4 Graph Coverage for Design Element Paul Ammann & Jeff Offutt Instructor: Hossein Momeni Mazandaran.
Introduction Of Tree. Introduction A tree is a non-linear data structure in which items are arranged in sequence. It is used to represent hierarchical.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Lecture 17 Trees CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Prims’ spanning tree algorithm Given: connected graph (V, E) (sets of vertices and edges) V1= {an arbitrary node of V}; E1= {}; //inv: (V1, E1) is a tree,
1 Graph Coverage (4). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
COSC 2007 Data Structures II Chapter 14 Graphs I.
The Structure of the Web. Getting to knowing the Web How big is the web and how do you measure it? How many people use the web? How many use search engines?
ENGM 732 Formalization of Network Flows Network Flow Models.
CS 146: Data Structures and Algorithms July 16 Class Meeting Department of Computer Science San Jose State University Summer 2015 Instructor: Ron Mak
Graphs and 2-Way Bounding Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois 1 /File:7_bridgesID.png.
Exact Inference in Bayes Nets. Notation U: set of nodes in a graph X i : random variable associated with node i π i : parents of node i Joint probability:
Trees, Binary Search Trees, Balanced Trees, Graphs Graph Fundamentals Telerik Algo Academy
Lecture 5 CSE 331. Graphs Problem Statement Algorithm Problem Definition “Implementation” Analysis A generic tool to abstract out problems.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Data Structures Lakshmish Ramaswamy. Tree Hierarchical data structure Several real-world systems have hierarchical concepts –Physical and biological systems.
CSE 421 Algorithms Richard Anderson Winter 2009 Lecture 5.
Week 7 - Wednesday.  What did we talk about last time?  Recursive running time  Master Theorem  Symbol tables.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Tree - in “math speak” An ________ graph is a set of vertices/nodes and a set of edges, each edge connects two vertices. Any undirected graph in which.
Lecture 9: Graphs & Graph Models. Definition of a Graph edge vertex cycle path.
Fundamentals of Algorithms MCS - 2 Lecture # 17. Binary Search Trees.
CSC 213 – Large Scale Programming Lecture 31: Graph Traversals.
Lecture 20. Graphs and network models 1. Recap Binary search tree is a special binary tree which is designed to make the search of elements or keys in.
MCA 520: Graph Theory Instructor Neelima Gupta
Spanning Trees Alyce Brady CS 510: Computer Algorithms.
Leda Demos By: Kelley Louie Credits: definitions from Algorithms Lectures and Discrete Mathematics with Algorithms by Albertson and Hutchinson graphics.
1 Traversal Algorithms  sequential polling algorithm  traversing connected networks (tree construction) complexity measures tree terminology tarry’s.
Integration Testing This is the step after the individual pieces of code or modules (programs) are tested. A set of programs do not exist in vacuum. They.
Data Structures for Databases
I206: Lecture 15: Graphs Marti Hearst Spring 2012.
Tree Construction (BFS, DFS, MST) Chapter 5
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
Department of Computer Science University of York
Robert Brayton UC Berkeley
Trees Definitions Implementation Traversals K-ary Trees
Lecture 21: B-Trees Monday, Nov. 19, 2001.
Discrete Mathematics Lecture 6: Set and Function
A Introduction to Computing II Lecture 13: Trees
CS224w: Social and Information Network Analysis
CSE 373: Data Structures and Algorithms
CS148 Introduction to Programming II
Miniconference on the Mathematics of Computation
Algorithms CSCI 235, Spring 2019 Lecture 35 Graphs IV
Goals Design decisions Design Insertion
Presentation transcript:

Windowing 290N: The Unknown Component Problem Lecture 10

Outline  Definitions  Window computation  Generalization to sequential networks

Windowing  A window includes k levels of TFI k levels of TFI m levels of TFO m levels of TFO all re-convergent paths captured in this scope all re-convergent paths captured in this scope Window POs Window PIs k = 3 m = 3

Definition of Leaves and Roots  Definition. Given a directed acyclic graph and two non-overlapping subsets of its nodes, one set is called the leaf set and the other the root set, if every path from any node in the root set towards the sources of the graph passes through some node in the leaf set.

Definition of a Window  Definition. Given a directed acyclic graph and two subsets of its nodes, which are in the leaves/roots relationship, a window is a subset of nodes of the graph, which contains the roots and all nodes between the root set and the leaf set. The nodes in the leaf set are delimiters and do not belong to the set of nodes included in the window.

Definition of Distance  Definition. A path between a pair of nodes is distance-k if it spans exactly k edges between the pair.  Definition. Two nodes are distance-k from each other if there exists a distance-k path between them, and there exists a distance-k path between them, and all other paths between them are distance-k or less. all other paths between them are distance-k or less.

Window Computation nodeset Window( node N, int nFanins, int nFanouts ) { nodeset I1 = CollectNodesTFI( {N}, nFanins ); nodeset I1 = CollectNodesTFI( {N}, nFanins ); nodeset O1 = CollectNodesTFO( {N}, nFanouts ); nodeset O1 = CollectNodesTFO( {N}, nFanouts ); nodeset I2 = CollectNodesTFI( O1, nFanins + nFanouts ); nodeset I2 = CollectNodesTFI( O1, nFanins + nFanouts ); nodeset O2 = CollectNodesTFO( I1, nFanins + nFanouts); nodeset O2 = CollectNodesTFO( I1, nFanins + nFanouts); nodeset S = I2  O2; nodeset S = I2  O2; nodeset L = CollectLeaves( S ); nodeset L = CollectLeaves( S ); nodeset R = CollectRoots( S ); nodeset R = CollectRoots( S ); return ( L, R ); return ( L, R );}

Example O1O1 O1O1 I1I1 I1I1 S N S S S