P systems with active membranes operating under minimal - - PowerPoint PPT Presentation

p systems with active membranes operating under minimal
SMART_READER_LITE
LIVE PREVIEW

P systems with active membranes operating under minimal - - PowerPoint PPT Presentation

P systems with active membranes operating under minimal parallelism Pierluigi Frisco and Gordon Govan Summary: What it is all about P systems with active membranes Operating under minimal parallelism Using different sets of rules


slide-1
SLIDE 1

P systems with active membranes operating under minimal parallelism

Pierluigi Frisco and Gordon Govan

slide-2
SLIDE 2

Summary: What it is all about

  • P systems with active membranes
  • Operating under minimal parallelism
  • Using different sets of rules
  • Solve NP- & PP-complete problems
  • Simulate register machines
slide-3
SLIDE 3

Summary: What I'll show you today

Using a P system with active membranes operating under minimal parallelism to solve k-SAT

slide-4
SLIDE 4

Why: Why are we interested?

  • P systems have been used to solve problems in

different complexity classes

  • and simulate different types of register machines
  • Lots of features, rule sets and operating modes
  • How does putting restrictions on how the P systems

are used affect their efficiency and effectiveness?

slide-5
SLIDE 5

Why: Why are we interested?

What are the necessary features required for each complexity class?

slide-6
SLIDE 6

Features of P systems with active membranes

  • Polarities
  • Label rewriting
  • Cooperative / catalytic evolution
  • Compartment creation
  • Elementary / non-elementary membrane division
slide-7
SLIDE 7

Features: Rule (a)

Rewrites the multiset of a compartment b is a string of symbols

[a →b ]h

a h b h

slide-8
SLIDE 8

Features: Rule (b)

Move an object into a compartment

a[]h →[b]h

h b h a

slide-9
SLIDE 9

Features: Rule (c)

Move an object out of a compartment

[a]h →[ ]h b

a h h b

slide-10
SLIDE 10

Features: Rule (d)

Remove a compartment

[a]h →b

a h b

slide-11
SLIDE 11

Features: Rule (e)

Divide a compartment

[a]h →[b]h[c]h

a h b h c h

slide-12
SLIDE 12

Features: Rule (g)

Create a compartment

a →[b]h

b h a

slide-13
SLIDE 13

Features: Polarities

An example of a rule that changes polarity

[a ]1

0→ [b ]1 +

a 1 b 1 +

slide-14
SLIDE 14

Features: Minimal Parallelism

In each transition for each compartment at least one rule is applied at least once where possible

slide-15
SLIDE 15

Prior: What has been done before

Class Operating mode Polarities Label rewriting Membrane division Evolution rules Rules used NP Minimal Yes No Non- elementary (a)-(e) NP Minimal No Yes Non- elementary (a) (c) (e) NP Minimal No No Non- elementary Cooperative (a)-(c) (e) NP Minimal No No Elementary Cooperative (a) (c) (e)

slide-16
SLIDE 16

What did we do?

  • P system with active membranes acting under

minimal parallelism without polarities

  • Solve k-SAT - a NP-complete problem
  • Using rules of type (a), (b), (c), (e), and (g)
slide-17
SLIDE 17

What is k-SAT?

Given a boolean formula ψ with m clauses in conjunctive normal form where each clause is a disjunction of literals vi or vi, 1 ≤ i ≤ n

slide-18
SLIDE 18

How: Construct the system

f

1

v1

2

e1

m+3

slide-19
SLIDE 19

How: Rule 1

[ vi]2 → [ Fi ]2[T i]2 v1

2

F1

2

T1

2

slide-20
SLIDE 20

How: After rule 1

f

1

F1

2

e1

m+3

T1

2

slide-21
SLIDE 21

How: Rules 2 and 3

[ Fi]2 →[false(vi) vi+1]2 [T i]2 →[true (vi )vi+1]2

F1

2

c1,...,cm,v2

2

  • Rules 2 and 3 use two functions: true and false
  • Both functions are from {v1,...,vn} to P{c1,...,cm}
  • true(vi) returns the set of clauses verified by vi
  • false(vi) returns the set of clauses verified by vi
slide-22
SLIDE 22

How: Rules 4 and 5

[ Fn]2 →[false (vn)d1]2 [T n]2 →[true (vn) d1]2

Fn

2

c1,...,cm,d1

2

  • Rules 4 and 5 similar to 2 and 3
  • But only for Fn and Tn
  • Also leaves a d1
slide-23
SLIDE 23

How: After rules 1 through 5

f

1

c7

2

e1

m+3

c3,c2

2 2

c4c7

2

c1c1c3

2

c5

2

c3c5

2

c2c1c4

2

c7

2

c3c4

2

c2

2

c2c5

2

c4

2

c4c2

2

slide-24
SLIDE 24

How: After rules 1 through 5

f

1

c7

2

e1

m+3

c4,c2

2

  • There are 2n copies of compartment 2
  • Each with a subset of {c1,...,cm}
  • The clauses which that assignment of variables satisfies
slide-25
SLIDE 25

How: Rule 6

  • Rule 6 uses dj to create a compartment i+2
  • Used for checking if cj exists

[d j ]2 → [[] j+2]2

dj

2 2 j+1

slide-26
SLIDE 26

How: Rules 7 and 8

  • Rules 7 and 8 check to see if ci exists
  • If cj exists then dj+1 will be created

c j[ ] j+2→ [ d j+1]j+2

2

dj+j1

j+2

cj

j+2 2

dj+1

j+2 2

[d j+1]j+2 →[ ] j+2d j+1

slide-27
SLIDE 27

How: Rule 9

  • If a compartment satisfies ψ then there will be a dm+1
  • Rule 9 makes any dm+1 pass from the 2 compartments into

the 1 compartment

[d m+1]2→[ ]2dm+1

f

1

dm+1

2

e1

m+3

f,dm+1

1 2

e1

m+3

slide-28
SLIDE 28

How: Finishing it off

  • If there is a dm+1 in compartment 1 then -
  • Rule 12 will create a m+4 compartment

[d m+1]1→ [[ ]m+4]1

f,dm+1

1

e1

m+3

f

1

e1

m+3 m+4

slide-29
SLIDE 29

How: Finishing it off

Rule 13, 14, and 10 will:

  • Cause f to enter m+4 and become yes
  • yes will pass back into 1
  • yes will then pass into the environment
  • The system will then halt
slide-30
SLIDE 30

How: Finishing it off

f

1

e1

m+3 m+4 1

e1

m+3

yes

m+4 1

e1

m+3 m+4

yes

1

e1

m+3 m+4

yes

slide-31
SLIDE 31

How: What is this compartment m+3 up-to?

[ei ]3 → [ ei+1]3 e1

3

e2n+2m+mn+4

3

  • Compartment 3 is busy at work
  • Acting as a clock
  • Rule 11 increases the subscript of e
  • for 1≤ i ≤ 2n+2m+mn+3
slide-32
SLIDE 32

How: Rules 15 and 16

[ek ]m+3→ [ ]m+3ek [ek ]1→ [[ ]m+5]1

When it has finished counting, k=2n+2m+mn+4:

  • The e will pass into compartment 1
  • It will then create a m+5 compartment

f

1

ek

m+3

f,ek

1 m+3

f

1 m+3

ek

m+5

slide-33
SLIDE 33

How: Rules 17 and 18

f

1 m+3 m+5 1 m+3

no

m+5 1 m+3 m+5

no

1 m+3 m+5

no

slide-34
SLIDE 34

Results: After halting

  • This system will take up to 2n+2m+mn+9 to run
  • Bound on mn
  • yes will pass into the skin compartment if ψ is satisfiable
  • no will pass into the skin compartment otherwise
  • Makes no assumptions on k
slide-35
SLIDE 35

Results: Other operational modes

  • The system can be run under different operational modes
  • The system will still work under both maximal strategy and

maximal parallelism

  • The system will perform differently for maximal parallelism

and maximal strategy

  • Would not work asynchronously
slide-36
SLIDE 36

Results: New table

Class Operating mode Polarities Label rewriting Membrane division Evolution rules Rules used NP Minimal Yes No Non- elementary (a)-(e) NP Minimal No Yes Non- elementary (a) (c) (e) NP Minimal No No Non- elementary Cooperative (a)-(c) (e) NP Minimal No No Elementary Cooperative (a) (c) (e) NP Minimal No No Elementary (a)-(c) (e) (g)

slide-37
SLIDE 37

Results: PP-complete problems

  • Previously solved by P systems with active membranes
  • perating under maximal parallelism
  • We use minimal parallelism to solve MAJORITY-SAT: a

PP-complete problem

  • Use a similar approach as for k-Sat
  • Using polarities and rules of type (a), (b), (c), and (e)
  • System runs in linear time in regards to mn
slide-38
SLIDE 38

Results: Register Machine

  • Previously simulated by P systems with active

membrane operating under minimal parallelism

  • But using polarities, label rewriting rules, or

cooperative evolution rules

  • We use none of these features
  • Use membrane creation and dissolution instead
  • Rules of type (a), (b), (c), (d), and (g)
slide-39
SLIDE 39

Conclusions:

  • Solved problems using minimal parallelism
  • Used different rules and features from previous work
  • We found a set of rules that are able to solve these

problems

  • But could these sets be smaller?
slide-40
SLIDE 40

End: Thanks for listening

Any questions?