In[]:=
ClearAll[fib]fib[n_]:=fib[n-1]+fib[n-2]fib[0|1]=1;
BreadthFirst - SingleWay - Generational
BreadthFirst sorts events
SingleWay picks up first events that don’t overlap
Generational combines all events into a single event
SingleWay picks up first events that don’t overlap
Generational combines all events into a single event
In[]:=
BreadthFirst=KeySortBy[Apply[{-Max[Length/@#1],#3}&]];
MultiEvaluate[fib[3],3,"CausalGraph","EventSelectionFunction"->BreadthFirst/*SingleWay/*Generational,"ShowExpressions"->True,"EvaluatePattern"->HoldPattern[Plus[___Integer]]]
Out[]=