Docsity

Partition Theory and Serial/Parallel Decomposition of Automata, Slides of Electronic Circuits Design

Partial preview of the text

Download Partition Theory and Serial/Parallel Decomposition of Automata and more Slides Electronic Circuits Design in PDF only on Docsity!

Encoding

x s 0 1 0 1 A A B 0 0 B A C 0 0 C D C 0 0 D A B 0 1

D 1 =Q 1 Q 2 + xQ 1 Q 2

Variant I

A = 00 B = 01 C = 10 D = 11

Variant II

A = 00 B = 11 C = 01 D = 10

D 2 = xQ 1 Q 2 +xQ 1 Q 2 +xQ 1 Q 2

y = xQ 1 Q 2

D 1 = xQ 2 +xQ 1 Q 2

D 2 = x

y = xQ 1 Q 2

Variant I^ Variant II

Encodings

3 states - 3 encodings

4 states - 3 encodings

5 states - 140 encodings

7 states - 840 encodings

9 states - More than 10 million encodings

How to encode?

Can we check all possible encodings?

Sum of partitions…

Π a = ( 1 , 2 ; 3 , 4 ; 5 , 6 ; 7 , 8 , 9 )

Sum of partitions Πa + Πb is the smallest (with respect to

relation ≤) partition, which is not smaller than Πa and Πb.

Π b = ( 1 , 6 ; 2 , 3 ; 4 , 5 ; 7 , 8 ; 9 )

Π a + Π b = ( 1 , 2 , 3 , 4 , 5 , 6 ; 7 , 8 , 9 )

Substitution Property of a partition

∀ v p ∈ V ,∀( si , sj ∈ bk ), bk ∈Π ⇒ bm ∃∈Π(δ( si , vp ),(δ( si , vp )) ∈ b m

Partition Π on set of states of machine M=<S, V, δ>

has the substitution property ( closed partition ), when:

Partition has the substitution property when

elements of a block under any input symbol transit

to themselves or to other block of partition Π

Serial Decomposition

Given is automaton M with set of states S. Sufficient and

necessary condition of serial decomposition of M into two serially

connected automata M 1 , M 2 is existence of partition π with

substitution property and partition τ such π • τ = 0.

f 1 (x,Q 1 ) D 1 f 2 (x,Q 1 ,Q 2 ) D 2 f 0 (x,Q 2 )

x (^) q 1 Q 1 q 2 Q 2 z

Parallel Decomposition

Automaton M jest decomposable into two sub-automata M 1 , M 2

working in parallel iff in the set of states S of this automaton

there exist two non-trivial partitions π 1 , π 2 with substitution

property such that

π 1 • π 2 = π(0)

f 0 (x,Q 1 ,Q2)

x

f 2 (x,Q 2 ) D 2

q 2

z

f 1 (x,Q 1 ) D 1

q 1

Q 1

Q 2

f 1 (x,Q 1 ) D 1 f 2 (x,Q 1 ,Q 2 ) (^) D 2 f 0 (x,Q 2 )

x (^) q 1 Q 1 q 2 Q 2 z

s 12 s 12 s (^11)

s 11 s 11 s (^12)

s^ x^01

1

0

0

S 11 ,

1

1

0

S 11 ,

0

0

1

S 12 ,

0

1

0

S 12 ,

s 21

s (^22)

s (^23)

S 12 ,

s (^23)

s (^23)

s (^21)

S 12 ,

s 23 s 22 s (^23)

s 22 s 23 s (^22)

s 21 s 21 s (^23)

s^ x S^11 ,0^ S^11 ,

Serial Decomposition

  • Example continued

x s 0 1 0 1

A A F 0 0 B E C 0 1 C C E 0 1 D F A 1 0 E B F 1 1 F D E 0 0

π 1 = ( A , B , E ; C , D , F )

τ = ( A , D ; B , C ; E , F )

s 21 s 22 s 23

s 11 s 12

S 11 =ABE S 21 =AD

S 12 =CDF

M 1 = (^) BC EF Docsity.com

Parallel Decomposition- Example

x s 0 1 0 1 A A F 0 0 B E C 0 1 C C E 0 1 D F A 1 0 E B F 1 1 F D E 0 0

s 23 s 22 s 23

s 22 s 23 s 21

s 21 s 21 s 23

0 1

x s

s (^23)

s (^21)

s (^23)

S 11 ,

s (^23)

s (^21)

s (^23)

S 12 ,

s 23 s22 s (^22)

s 22 s23 s

s 21 s21 s

s^ x S^11 ,0^ S^12 ,

π 1 =^ (^ A , B , E ; C , D , F )

s 11 s 12

π 2 = ( A , C ; B , D ; E , F )

s 21 s 22 s 23

AC BD EF

ABE CDF ABE CDF

x out

M 2 (π 2 )

y

M (^1)

Combining columns

Knowing both partitions we can create table 2, next combining columns with the same input X we obtain the table of one of machines

M 2

Calculating a closed partition

x s 0 1

A A F B E C C C E D F A E B F F D E

Π 1 = (A, B,E;C,D,F)

A,B
A,E C,F
C,D
F E
B,D
A,C E,F
A,D A,F

A,B

A,C

A,D

Π 2 = (A, C;B,D;E,F)

Π ( ) 1

We create a graph of pairs of successors for various initial nodes.

Dekompozycja z autonomicznym zegarem

Some automata have a decomposition in which we use the

autonomous clock - and sub-automaton that is not dependent on

inputs.

Partition π i of set of states S of automaton M is compatible

with input, if for each state Sj ∈ S and for all v (^) l ∈ V

δ( S j , v 1 ), δ( Sj , v 2 ), ..., δ( Sj , vl ), ..., δ( Sj , vp ),

are in one block of partition π i.

A sufficient and necessary condition of existence of

decomposition of automaton M , with an autonomous clock with

log 2 β(π) states is that there exists a closed partition π and a non-

trivial, compatible with input partition π i of the set of states S of this

machine such that π ≥ π i