PairRates[rule_,init_,t_]:={Length[#Resolved],Length[#Unresolved]}&/@Table[ResourceFunction["MultiwaySystem"][rule,init,time,"BranchPairResolutionsList"],{time,2,t+1}];
In[]:=
First/@PairRates[{"A""AB","B""A"},"AA",10]
ResourceFunction["EnumerateSubstitutionSystemRules"][{22},2]
In[]:=
{{AAAA},{AAAB},{AABB},{ABAA},{ABAB},{ABBA}}
Out[]=
ResourceFunction["EnumerateSubstitutionSystemRules"][{22,11},2]
In[]:=
Out[]=
PairRates[#,"AA",5]&/@%
In[]:=
Out[]=
ResourceFunction["ParallelMapMonitored"][PairRates[#,"AA",5]&,%47]
In[]:=
Out[]=
ResourceFunction["EnumerateSubstitutionSystemRules"][{12,11},2]
In[]:=
Out[]=
ResourceFunction["ParallelMapMonitored"][#->PairRates[#,"AA",5]&,%]
In[]:=
Out[]=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{12,22},2]]
In[]:=
Out[]=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
In[]:=
{}
Out[]=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
In[]:=
Out[]=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
In[]:=
Part
:Part specification ({AAAA,AAB}$Aborted)〚2,-1,1〛 is longer than depth of object.
Part
:Part specification ({AAAA,AAB}$Aborted)〚2,-1,2〛 is longer than depth of object.
Part
:Part specification ({AAAB,AAA}$Aborted)〚2,-1,1〛 is longer than depth of object.
General
:Further output of Part::partd will be suppressed during this calculation.
{}
Out[]=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],40]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
In[]:=
Out[]=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],40]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{13,21},2]]
In[]:=
Out[]=
Select[%,(#[[2,-1,1]]>100&&#[[2,-1,2]]<20)&]
In[]:=
Part
:Part specification ({AAAB,AAA}$Aborted)〚2,-1,1〛 is longer than depth of object.
Part
:Part specification ({AAAB,AAA}$Aborted)〚2,-1,2〛 is longer than depth of object.
Part
:Part specification ({AAAB,AAB}$Aborted)〚2,-1,1〛 is longer than depth of object.
General
:Further output of Part::partd will be suppressed during this calculation.
{}
Out[]=
ResourceFunction["ParallelMapMonitored"][#TimeConstrained[PairRates[#,"AA",5],10]&,ResourceFunction["EnumerateSubstitutionSystemRules"][{23,21},2]]
In[]:=
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 37)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 36)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 35)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 34)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 33)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 32)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BBA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 31)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BBB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 30)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABBAA,AAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 29)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABBAA,AAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 28)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABBAA,ABA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 27)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABBAA,ABB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 26)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 37)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,AAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 36)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 35)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,ABB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 34)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BAA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 33)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BAB}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argument.
(kernel 32)
Function::slot1:({Length[#Resolved],Length[#Unresolved]}&)
[\◼]
MultiwaySystem
(v2.0.0)
[StateEvolutionFunction(FunctionRepository`$98e4a9bce65941b892933c6b562965c5`getStringStateEvolutionFunction[#1,{ABABA,BBA}]&),5,EventSelectionFunctionIdentity,{AA},2,BranchPairResolutionsList] is expected to have an Association as the first argu