In[]:=
PairRates[rule_,init_,t_]:={Length[#Resolved],Length[#Unresolved]}&/@Table[ResourceFunction["MultiwaySystem"][rule,init,time,"BranchPairResolutionsList"],{time,2,t+1}];
First/@PairRates[{"A""AB","B""A"},"AA",10]
In[]:=
ResourceFunction["EnumerateSubstitutionSystemRules"][{22},2]
Out[]=
{{AAAA},{AAAB},{AABB},{ABAA},{ABAB},{ABBA}}
In[]:=
ResourceFunction["EnumerateSubstitutionSystemRules"][{22,11},2]
Out[]=
In[]:=
PairRates[#,"AA",5]&/@%
Out[]=
In[]:=
ResourceFunction["ParallelMapMonitored"][PairRates[#,"AA",5]&,%47]
Out[]=
In[]:=
ResourceFunction["EnumerateSubstitutionSystemRules"][{12,11},2]
Out[]=
In[]:=
ResourceFunction["ParallelMapMonitored"][#->PairRates[#,"AA",5]&,%]
Out[]=
In[]:=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{12,22},2]]
Out[]=
In[]:=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
Out[]=
{}
In[]:=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
Out[]=
In[]:=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
Out[]=
{}
In[]:=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],40]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
Out[]=
In[]:=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],40]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
Out[]=
In[]:=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
Out[]=
{}
In[]:=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{23,21},2]]
(kernel 37)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 36)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 35)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 34)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.