Wolfram/Multicomputation

(0.0.5) current version: 0.1.6 »

Various functions for multicomputation

Contributed by: Wolfram Research

Installation Instructions

To install this paclet in your Wolfram Language environment, evaluate this code:
PacletInstall["Wolfram/Multicomputation"]


To load the code after installation, evaluate this code:
Needs["Wolfram`Multicomputation`"]

Examples

Basic Examples (4) 

Make a string multiway system:

In[1]:=
multi = MultiwaySystem[{"BB" -> "AB", "A" -> "BA"}, {"A"}]
Out[1]=
In[2]:=
multi["Properties"]
Out[2]=
In[3]:=
multi["StatesGraph", 5, "CanonicalStateFunction" -> "Canonical", AspectRatio -> 1/2]
Out[3]=
In[4]:=
cg = multi["CausalGraph", 5]
Out[4]=
In[5]:=
multi["EvolutionCausalGraph", 5]
Out[5]=

Make an expression multiway system:

In[6]:=
multi = MultiwaySystem[{x_\[SmallCircle]y_ -> (y\[SmallCircle]x)\[SmallCircle]y, (y_\[SmallCircle]x_)\[SmallCircle]y_ -> x\[SmallCircle]y}, (a\[SmallCircle]b)\[SmallCircle]a]
Out[6]=
In[7]:=
multi["StatesGraph", 3, GraphLayout -> "SpringElectricalEmbedding"]
Out[7]=
In[8]:=
cg = multi["CausalGraph", 2, "IncludeInitialEvent" -> True, AspectRatio -> 1/2]
Out[8]=
In[9]:=
multi["EvolutionCausalGraph", 2, "IncludeInitialEvent" -> True]
Out[9]=

In[10]:=
multi = MultiwaySystem[{s[x_][y_][z_] :> x[z][y[z]], k[x_][y_] :> x}, s[k[s][i]][s[k][k][i]][x][y]]
Out[10]=
In[11]:=
multi["StatesGraph", 5, "CanonicalStateFunction" -> None, VertexShapeFunction -> (Inset[
     Framed[ResourceFunction["WolframModelPlot"][#2, ImageSize -> 64]], #1, #3] &), VertexLabels -> v_ :> Placed[FromLinkedHypergraph[v, "Expression"], Tooltip]]
Out[11]=
In[12]:=
multi["CausalGraphStructure", 5, "IncludeInitialEvent" -> True, "CanonicalEventFunction" -> Full]
Out[12]=

In[13]:=
multi = MultiwaySystem[{f[x_] :> x + 1, x_ :> 2 x}, f[1]]
Out[13]=
In[14]:=
multi["StatesGraph", 2,
 "CanonicalStateFunction" -> None, VertexShapeFunction -> (Inset[
     Framed[ResourceFunction["WolframModelPlot"][#2, PlotLabel -> DisableFormatting /@ FromLinkedHypergraph[#2, "HoldExpression"], ImageSize -> 64]], #1, #3] &)]
Out[14]=
In[15]:=
VertexReplace[%, v_ :> CanonicalLinkedHypergraph[v]]
Out[15]=

Compatibility

Wolfram Language Version 13.1

Version History

  • 0.1.6 – 27 September 2024
  • 0.1.5 – 30 May 2024
  • 0.1.4 – 27 February 2024
  • 0.1.3 – 15 January 2024
  • 0.1.2 – 03 January 2024
  • 0.1.1 – 02 December 2023
  • 0.1.0 – 29 September 2023
  • 0.0.13 – 23 September 2023
  • 0.0.12 – 16 September 2023
  • 0.0.11 – 13 September 2023
  • 0.0.10 – 24 August 2023
  • 0.0.9 – 23 August 2023
  • 0.0.8 – 21 June 2023
  • 0.0.7 – 15 February 2023
  • 0.0.6 – 14 February 2023
  • 0.0.5 – 01 February 2023
  • 0.0.4 – 13 October 2022

License Information

MIT License

Paclet Source

Source Metadata