WOLFRAM NOTEBOOK

In[]:=
MultistringRewriteSystem[{"A","B"}->{"B","A"},{"AA","BB"},2,"StatesGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"B","A"},{"AA","BB"},2,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"B","A"},{"AB","BA"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"A","A"},{"AB","BA"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"A","A"},{"XAX","YBY"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"B","A"},{"XAX","YBY"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","B"}->{"B","A"},{"XAX","YBY","ZAZ"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A","A"}->{"B","B"},{"XAX","XAX"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"B"},{"A"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"B"},{"AA"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"AA"},{"A"},1,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"AA"},{"A"},2,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"AA"},{"A"},3,"TokenEventGraph"]
Out[]=
In[]:=
MultistringRewriteSystem[{"A"}->{"B"},{"AA"},2,"TokenEventGraph"]
Out[]=

{1, 2} -> {1, 2} Rules

Could label edges with which string is associated with that edge
(Confusing because no commas in event specs)
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.