on properties of PM colony C and on its starting
string w
0
).
In PM colony without rules for erasing agent or
environmental symbol and without rule for moving
of agent, we consider an algorithm, that for k+l
derivating steps simulates the development of the
colony. We have to determine the value of k and l
(respectively k+l).
Consider deterministic PM colony first. We
assume that the conflict between agents A a B
appears in finite number of derivation steps (the
exact number depends on properties of C and w
0
). If
the conflict does not appear in number of derivation
steps counted below, then it does not appear at all
(all the possible parts of string allowing changes in
the development of the colony – originating from w
0
– will be exhausted by changes caused by
development of the colony and existing agents will
repeat the same actions in cycles). Awaited output of
the algorithm is a message telling if conflict happens
or not.
This would be attended with information about
number of done derivation steps and reached string.
In case of development not reaching conflict of
specified agents includes output message the last
algorithmically reached string, number of derivation
steps done and message that conflict would not
come.
When analysing development of PM colony from
its initial string we are interested into the whole
string w
0
. In the colony, there can be some parts of
the string causing complicated development (e. g.
collision of more agents brings complications with
determining which agent is active and which agent
will be active in the next derivation step), we have to
focus on these parts. In the development plays the
role parts consisting of environmental symbols only.
The most complicated development can be observed
in parts where more agents collide. There can be
more than one such part in the starting string. In all
of the parts many events can happen, but to
determine the “worst possible case of development”
(in the sense of highest number of derivation steps
which has to be done to determine if the conflict
between agents A and B arrive) we have to consider
the longest string of conflicting agents. Considering
the rules in colony it is pointless to think about
situation where two short conflicting strings become
one longer (such rule-type is in this type of PM
colony forbidden).
In this type of PM colony are only these rule-
types: substitution of environmental symbol,
insertion of an agent of environment symbol, death
of an agent. Only two types of rules can produce the
conflict 1.) death of an agent and 2.) insertion of an
agent.
When considering possibility of conflict due to
rule for agent insertion, we have to consider the
priority relation <. This rule-type can cause conflict
during a*a
2
derivation steps, where a is the number
of agent names in colony (each agent can produce up
to a agents on both is sides, but then the actions are
repeating. Repeated is also the whole life of the
colony and nothing new can happen).
In the case when conflict appears due to the rule
for death of an agent we have to consider s – the
longest substring of conflicting agents in the starting
string. In this case agents can create new agents or to
exchange environmental symbols on both its sides. It
means (e+a)
2
possible combinations of
development. If the conflict should appear, then it
has to happen no later than in s*a*(e+a)
2
derivation
steps and this is the value matching to k+l. If the
conflict does not appear in this number of derivation
steps, then it does not appear in this colony with
given starting string at all.
Running of this simulation gives sense only
when in colony exists a rule generating new copy of
agent A or agent B or in case of existing rule for
erasing an agent neighboring with any of these
agents.
In case of non-deterministic PM colony it is
necessary to bifurcate the computation every time
when it is possible to use more than one rewriting
rule for any context. It is also necessary to follow all
branches of computation until the number of
derivation steps mentioned before. If a conflict is
reached in any of the branches, the problem has
a solution for given non-deterministic PM colony
and given starting string.
Note. Generative power of this restricted class of
PM colonies is lower than the power of original PM
colonies. The absence of a rule for deletion causes
that strings cannot be shortened. Example of a
language, which cannot be derived by this type of
PM colonies is a set {a, aa, aaa}.
4.2 PM Colony with No Insertion Rules
Assume PM colonies, where insertion of agents and
environment symbol is forbidden. No growth is
possible in these colonies.
Theorem 2. In a PM colony with no insertion rule
and with an initial string w
0
it is decidable if two
agents A, B will reach a conflict.
Proof. In this type of PM colony the length of string
cannot be prolonged. Because of finite language
produced by this type of PM colony, the problem if
agents A and B will enter a conflict is solvable.
IJCCI2012-InternationalJointConferenceonComputationalIntelligence
248