110 likes | 195 Views
Generative Power. of Colonies with Weakly and Strongly Competitive Parallel Derivation. Šárka Vavrečková Institute of Computer Science , Silesian University Opava sarka.vavreckova @fpf.slu.cz. Colony – what is it?. Components (agents, very simple robots, etc.).
E N D
Generative Power of Colonies with Weakly and Strongly Competitive Parallel Derivation Šárka Vavrečková Institute of Computer Science, Silesian University Opava sarka.vavreckova@fpf.slu.cz
Colony – what is it? • Components (agents, very simple robots, etc.). • Shared environment (word, workplace for components). • Timer and number of working components in one moment.
Colony: C = (V, T, R) • V … alphabet of the colony • T … terminal alphabet, T V • R… set of components (S, F), S is notin F The component can work with it: Set of possible results of its work:
Parallel derivation: • Every component which can work, must work. • Each component must be used at most ones (unused symbols = waiting symbols).
Types: • Weakly parallel derivation: if the number of components for some symbol S is bigger then number of S in the environment, we can choose working components. • Strongly parallel derivation: in this case derivation is blocked.
Example: C= (V, T, R), V = {M, N, P, a, b} T = {a, b} R = {(P, {a}), (P, {b}), (N, {M}), (M, {PPPN,PPNP,PNPP,NPPP,})} Axiom w0 = MM
Colony with wp derivation: PPNPM PaMb _ ba _ b bab MM (P, {b}) (N, {M}) (P, {a}) (M, {PPPN,PPNP,PNPP,NPPP,})
Colony with sp derivation: !!! PPNPM PaMb _ MM (P, {b}) (N, {M}) (P, {a}) (M, {PPPN,PPNP,PNPP,NPPP,})
Languages: • L (C, wp, MM) = {w3n; w{a,b}*, |(w,a)–(w,b)|1} • L (C, sp, MM) ={w6n; w{a,b}*,(w,a)=(w,b)} • L (C, CF) = {a,b}3n
Known results: • CF COLwp • CF COLsp COLwp ? COLsp
Problems: • How to block “wrong words” only(new components must work similarly with the original components). • What shell we do with “waiting symbols” ?