Details and Options
Glocal multiway systems combine the global events (and the corresponding causal structure) of ordinary multiway systems, with the individual token philosophy of local multiway systems. A single event vertex in the evolution causal graph (or token event graph) will, in general, have many incoming and outgoing evolution edges, corresponding to the fact that several tokens must be assembled together in order to reconstruct a single global input or output state for the event.
The branchial graph for a glocal multiway system shows the branch pair (i.e. critical pair) ancestry for a glocal evolution causal graph/token event graph. Unlike the branchial graph for an ordinary (global) multiway system, which only contains information regarding the evolution ancestry of states, glocal branchial graphs contain information about both the causal ancestry of events and the evolution ancestry of states/tokens.
Argument and option patterns for
ResourceFunction["TuringMachineGlocalBranchialGraph"] match those of the resource function
MultiwayTuringMachine (and, to a lesser extent, the resource function
MultiwaySystem).
ResourceFunction["TuringMachineGlocalBranchialGraph"] accepts both individual Turing machine rules and lists of rules, and likewise for initial conditions. ResourceFunction["TuringMachineGlocalBranchialGraph"][rules,init,n] is interpreted as ResourceFunction["TuringMachineGlocalBranchialGraph"][rules,{init},n], etc.
The event selection function sel in ResourceFunction["TuringMachineGlocalBranchialGraph"][rules→sel,…] can have the following special forms:
"Sequential" | applies the first possible replacement (sequential substitution system) |
"Random" | applies a random replacement |
{"Random",n} | applies n randomly chosen replacements |
Duplicated tokens are displayed separately at each time step by default, although this can be overridden by setting
"DeduplicateTokens"→True.
Events are represented in the form {rule,input,rest}, where rule is the rule used in the updating event, input is the part of the state to which the rule is applied and rest is the remainder of the state. For substitution systems, rest is given in the form {prefix,suffix}.
Options for ResourceFunction["TuringMachineGlocalBranchialGraph"] include:
"DeduplicateTokens" | False | whether to merge all instances of equivalent tokens that appear at each time step |
"VertexRendering" | True | whether to use special rendering for state/token and event vertices |
"IncludeInitializationEvents" | False | whether to include pseudoevents that set up initial conditions |
"StateRenderingFunction" | Automatic | how to label states/tokens that appear in the evolution causal graph/token event graph |
"EventRenderingFunction" | Automatic | how to label events that appear in the evolution causal graph/token event graph |
All of the standard options for the
Graph function can also be applied to
ResourceFunction["TuringMachineGlocalBranchialGraph"].
Possible settings for "StateRenderingFunction" and "EventRenderingFunction" include:
Automatic | make a label from the name of the vertex |
Inherited | use the explicit vertex name as the label |
None | use no label for the vertex |
"string" | use a shape from the VertexShapeFunction collection |
func | apply the function func to the name of the vertex |