Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a random canonical Wolfram model rule with a particular signature
ResourceFunction["RandomWolframModel"][signature] generates a random Wolfram model rule with the specified signature. | |
ResourceFunction["RandomWolframModel"][signature,n] generates a random Wolfram model using at most n distinct elements. |
Generate a random 23→ 32 Wolfram model rule:
In[1]:= |
|
Out[1]= |
|
Generate a 23→ 32 Wolfram model rule, restricting to two distinct elements:
In[2]:= |
|
Out[2]= |
|
Generate a random 23→ 32 Wolfram model rule:
In[3]:= |
|
Out[3]= |
|
Generate a random 2322→4382 with at most 12 elements:
In[4]:= |
|
Out[4]= |
|
Generate a random rule containing two different transformations:
In[5]:= |
|
Out[5]= |
|
By default (Automatic connectedness), disconnected right-hand sides can be generated as long as all of their components are still connected to the left-hand side:
In[6]:= |
|
Out[6]= |
|
Note that evolution may still be connected in this case if there are other edges connecting vertices on the left-hand side:
In[7]:= |
|
Out[7]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License