Complete deterministic directed finite automaton with transition graph Γ For a set of states Q and mapping ά consider a map Qά and Qs for s=ά 1 ά 2 … ά.

Slides:



Advertisements
Similar presentations
CSCI 115 Chapter 6 Order Relations and Structures.
Advertisements

Chapter 8 Topics in Graph Theory
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
On the Synchronizing Probability Function and the Triple Rendezvous Time: New Approaches to Černý's Conjecture François Gonze Prof. Raphaël Jungers 2 March.
Approximating Maximum Subgraphs Without Short Cycles Guy Kortsarz Join work with Michael Langberg and Zeev Nutov.
MCA 520: Graph Theory Instructor Neelima Gupta
Synchronizing Words and Carefully Synchronizing Words Pavel Martyugin Ural State University, Ekaterinburg, Russia Workshop Dynamical Aspects of Automata.
The number of edge-disjoint transitive triples in a tournament.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Introduction to Computability Theory Lecture3: Regular Expressions Prof. Amos Israeli.
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
CS5371 Theory of Computation
Online Graph Avoidance Games in Random Graphs Reto Spöhel Diploma Thesis Supervisors: Martin Marciniszyn, Angelika Steger.
Chapter 9 Graph algorithms. Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
Validating Streaming XML Documents Luc Segoufin & Victor Vianu Presented by Harel Paz.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
1 Relations: The Second Time Around Chapter 7 Equivalence Classes.
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Lecture 3 Graph Representation for Regular Expressions
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
ⅠIntroduction to Set Theory 1. Sets and Subsets
Can we “paint” streets or roads to provide “easy” directions to a destination?
Zvi Kohavi and Niraj K. Jha 1 Capabilities, Minimization, and Transformation of Sequential Machines.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
MCS312: NP-completeness and Approximation Algorithms
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
4b 4b Lexical analysis Finite Automata. Finite Automata (FA) FA also called Finite State Machine (FSM) –Abstract model of a computing entity. –Decides.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
 Ⅰ Introduction to Set Theory  1. Sets and Subsets  Representation of set:  Listing elements, Set builder notion, Recursive definition  , ,  
Data Structures & Algorithms Graphs
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
Graph Theory and Applications
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
Road coloring Complete deterministic directed finite automaton with transition graph Γ For edge q → p suppose p= q ά. For a set of states Q and mapping.
Data Structures & Algorithms Graphs Richard Newman based on book by R. Sedgewick and slides by S. Sahni.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Graphs Lecture 2. Graphs (1) An undirected graph is a triple (V, E, Y), where V and E are finite sets and Y:E g{X V :| X |=2}. A directed graph or digraph.
Road coloring problem Trahtman A.N. Bar-Ilan university Complete deterministic directed finite automaton with transition graph Γ For edge q → p suppose.
Chromatic Coloring with a Maximum Color Class Bor-Liang Chen Kuo-Ching Huang Chih-Hung Yen* 30 July, 2009.
5.6 Prefix codes and optimal tree Definition 31: Codes with this property which the bit string for a letter never occurs as the first part of the bit string.
1 Finite Automata. 2 Introductory Example An automaton that accepts all legal Pascal identifiers: Letter Digit Letter or Digit "yes" "no" 2.
Leda Demos By: Kelley Louie Credits: definitions from Algorithms Lectures and Discrete Mathematics with Algorithms by Albertson and Hutchinson graphics.
Fundamental Graph Theory (Lecture 1) Lectured by Hung-Lin Fu 傅 恆 霖 Department of Applied Mathematics National Chiao Tung University.
De Bruijn sequences 陳柏澍 Novembers Each of the segments is one of two types, denoted by 0 and 1. Any four consecutive segments uniquely determine.
The Theory of NP-Completeness
Complexity Classes.
Chapter 6 Order Relations and Structures
For edge q → p suppose p= q ά
Lexical analysis Finite Automata
Pushdown Automata.
What is the next line of the proof?
Chapter 2 FINITE AUTOMATA.
Based on slides by Y. Peng University of Maryland
Infiniteness Test The Pumping Lemma Nonregular Languages
THEORY OF COMPUTATION Lecture One: Automata Theory Automata Theory.
Finite Automata.
Advanced Analysis of Algorithms
4b Lexical analysis Finite Automata
Chapter 1 Regular Language
The Theory of NP-Completeness
Simple Graphs: Connectedness, Trees
Richard Anderson Lecture 5 Graph Theory
Chapter 9 Graph algorithms
Locality In Distributed Graph Algorithms
Presentation transcript:

Complete deterministic directed finite automaton with transition graph Γ For a set of states Q and mapping ά consider a map Qά and Qs for s=ά 1 ά 2 … ά i. Γs presents a map of Γ. Deterministic Complete – for any vertex outgoing edges of all colors from given alphabet ά q ά For edge q → p suppose p= q ά Upper bound on the length of reset word Trahtman A.N. Dynamical Aspects of Automata and Semigroup Theories Wien, 2010 p

K-synchronizing coloring of directed graph Γ turns the graph into k-synchronizing automaton. If for some word s |Γs|=1 then s is synchronizing word of automaton with transition graph Γ and the automaton is called synchronizing. If for some word s |Γs|=k and k is minimal then s is k- synchronizing word of automaton with transition graph Γ and the automaton is called k-synchronizing. Synchronizing and K-synchronizing graph

Černy conjecture Lower bound: (n-1) 2 Cerny, 1964 The gap exists almost 30 years Upper bound: (n 3 -n)/ 6 Frankl, 1982, Pin, 1983 Kljachko, Rystsov, Spivak, 1987 Jan Č erny found in 1964 n-state complete DFA with shortest synchronizing word of length (n-1) 2. Conjecture: (n-1) 2 is an upper bound for the length of the shortest synchronizing word for any n-state automaton. The conjecture holds in a lot of private cases. Some interesting corollaries follow from the study of small DFA

All automata of minimal reset word of length (n-1) 2 for n<11, q=2 and n<8, q<5 sizen=3n=4n=5n=6n=7n=8n=9n=10 q=2 q=3 Found by TESTAS

The upper bound on the length of the minimal synchronizing word of n-state automaton is not greater than (n 3 -n) 7/ (6x8) + n 2 / 2 Some improvement of the known upper bound (no changed from 1982) A small modification of the old upper bound makes the coefficient 7/ 8

All automata of minimal reset word of length less than (n-1) 2 The set of n-state complete DFA (n>2) with minimal reset word of length (n-1) 2 contains only the sequence of Cerny and the eight automata mentioned above, 3 of size 3, 3 of size 4, one of size 5 and one of size 6. Size n=5n=6n=7n=8 q<3n=9 q<3n=10 q<3 (n-1) Max of minimal length q=2 15 q=3 15 q= <= The growing gap between (n-1) 2 and Max of minimal length inspires Conjecture

Synchronization algorithms of TESTAS An automaton with transition graph G is synchronizing iff G 2 has a sink state. It is a base for a quadratic in the worst case algorithm for to check synchronizability. The algorithm is used in procedures of the package TESTAS finding synchronizing word. The procedures are based on semigroup approach (almost quadratic algorithm) on Eppstein algorithm, O(n 3 ) and its generalizations, on the ideas of works of Kljachko, Rystsov, Spivak and Frankl. O(n 4 ) A minimal length synchronizing word is found by non-polynomial algorithm

Distribution of the length of synchronizing word Lengths (near minimal) are found by an algorithm based on the package. The algorithm consistently sifts non-synchronizing graphs, graphs with very short reset word and a part of isomorphic graphs. The minimal length is found for graphs with very long reset words. All remaining graphs of 10 vertices over 2 letters n - 2n2n – 3n3n - 4n4n – 5n5n - 6n6n - 7n 81.01%16.2%1.82%0.8%0.05%0.006% Maximal value of the length found by the algorithm – 93 The length found by minimal length algorithm – 81 (Err < 13%)

Distribution of synchronizing automata of size n, size of alphabet q, according to the length of reset word three cases: n=10, q=2; n=7,q=3 and n=7,q=4 The maximal number of graphs has its length of reset word near n+1

Road coloring problem Adler, Goodwyn, Weiss, directed finite strongly connected graph 2.constant outdegree of all its vertices 3. the greatest common divisor of lengths of all its cycles is one. Has such graph a synchronizing coloring? The problem awaked an unusual interest and not only among the mathematicians Theorem: Let every vertex of strongly connected directed finite graph Γ have the same number of outgoing edges (uniform outdegree). Then Γ has synchronizing coloring if and only if the greatest common divisor of lengths of all its cycles is one.. …….... …….….

Road coloring for mapping on k states 1.directed finite strongly connected graph 2.constant outdegree of all its vertices The problem also depends only on sink (minimal) strongly connected component with constant outdegree - for to be complete and deterministic The problem was solved by Beal, Perrin, A quadratic algorithm for road coloring, arXiv: v6, 2008, see also Budzban, Feinsilver, The Generalized Road Coloring Problem and periodic digraphs arXiv: ,

Directed finite strongly connected graph with constant outdegree of all its vertices has K- synchronizing coloring if and only if the greatest common divisor of lengths of all its cycles is K Theorem: (Beal, Perrin)

An arbitrary graph Γ Then Γ has K- synchronizing coloring. Let a finite directed graph Γ have a sink component Γ1. Suppose that by removing some edges of Γ1 one obtains strongly connected directed graph Γ2 of uniform outdegree. Let K be the gcd of lengths of the cycles of Γ2. The package TESTAS finds k- synchronizing road coloring for a graph having a subgraph with sink SCC of uniform outdegree. Finite directed graph of uniform outdegree is either K- synchronizing or has no sink SCC

Algorithms for Road Coloring The known algorithms are based on the proof of the Road Coloring Conjecture. The cubic algorithm (quadratic in most cases) of Trahtman is implemented in the package TESTAS Beal and Perrin declared creation of a quadratic algorithm The coloring for K-synchronizing and for arbitrary automaton is also implemented in the package TESTAS

The visualization used the cyclic layout ( the vertices are at the periphery of a circle). The visibility of inner structure of a digraph with labels on the edges is our goal. It is clear that the curve edges (used, for instance, in some packages) hinder to recognize the cycles and paths. Therefore, we use only direct and, hopefully, short edges.. Among the important visual properties of a graph structure one can mention paths, cycles, strongly connected components (SCC), cliques, bunches, reachable states etc. Visualization of a directed labeled graph

Linear Visualization Algorithm The first step is the selection of the strongly connected components (SCC). A linear algorithm is used in order to find them. Our modification of the cyclic layout considered two levels of circles, the first level consists of SCC, the second level presents the whole graph with SCC at the periphery of the circle. So strongly connected components can be easily recognized. The pictorial diagram demonstrates the graph structure. Any deterministic finite automaton is accepted