Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 18:32
· 2 commits to main since this release

New

  • An edit budget for the diffs. New overloads of MyersDiff, HeckelDiff and GroupedDiff.Refine take a limit on how many edits one search looks for. Past it the search splits where it got furthest: the script stays valid but may be longer, and cutShort says so. HistogramDiff has none, since its cost is in finding anchors. The Visualizer's Diffing tab has a Budget box.
  • XML documentation in the packages. Every public member of Algorithms, Collections, Packables and Packables.Newtonsoft is documented, including the rules callers depend on: Tarjan's search order (the contract of ContractVersion 1), how the ref overloads treat the arrays they are given, and what each Packables refusal means. Editors show it as IntelliSense.
  • The Visualizer for Linux, as a self-contained linux-x64 tarball beside the Windows build.

Changed

  • Graph.AddEdge and AddEdges throw ArgumentOutOfRangeException for a negative vertex. AddEdges then adds none of its edges.
  • TwoWayDictionary.GetEnumerator returns the dictionary's own struct enumerator, so a foreach doesn't allocate. The interface versions are explicit.
  • The TwoWayDictionary constructor throws ArgumentException for a key or a value that comes twice. It did before; it is now documented and tested.

Downloads

  • AlgorithmsVisualizer-v0.2.0-win-x64.zip, AlgorithmsVisualizer-v0.2.0-linux-x64.tar.gz: the desktop Visualizer, self-contained, with BUILD.txt naming the commit and SDK.
  • Yewnyx.Algorithms, Yewnyx.Collections, Yewnyx.Packables, Yewnyx.Packables.Newtonsoft 0.2.0: NuGet packages for netstandard2.1 and net8.0, with symbol packages.

The browser Visualizer at https://yewnyx.github.io/Algorithms/ is now built from the spatial branch, and so also has the Spatial tabs. See v0.2.0-spatial.

Full Changelog: v0.1.1...v0.2.0