Skip to content

Subhypergraph & Performance Improvements

Compare
Choose a tag to compare
@maxitg maxitg released this 12 Oct 21:55
· 134 commits to master since this release
e3192ed

In this release, we focused on stability, performance, and streamlining SetReplace for our users and developers:

  • We introduced Subhypergraph and WeakSubhypergraph functions.

    In[] := With[{
        evolution = WolframModel[{{1, 2}, {2, 3}} -> {{4, 2}, {4, 1}, {2, 1}, {3, 4}}, Automatic, Automatic]},
      evolution["FinalStatePlot",
                EdgeStyle -> LightGray,
                GraphHighlight -> WeakSubhypergraph[evolution["FinalState"], Range[9, 16]]]]
    image
  • We have a new event ordering function called "Any", which generates an undefined evolution order. There is not much use for it yet, but it paves the road for some powerful optimizations in the future.

  • You can now use VertexLabels -> "Index" in "ExpressionsEventsGraph" that displays the indices of events and expressions in a much more compact way than VertexLabels -> "Name".

We also did some weed whacking:

  • ./build.wls script should no longer fail if the repository is located under a symbolic link.

  • Vertex names which are themselves lists now work correctly in WolframModel.

Huge thanks to @aokellermann and @daneelsan for contributing to this release!