Repository navigation
New
- An edit budget for the diffs. New overloads of
MyersDiff,HeckelDiffandGroupedDiff.Refinetake 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, andcutShortsays so.HistogramDiffhas 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
ContractVersion1), how therefoverloads 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.AddEdgeandAddEdgesthrowArgumentOutOfRangeExceptionfor a negative vertex.AddEdgesthen adds none of its edges.TwoWayDictionary.GetEnumeratorreturns the dictionary's own struct enumerator, so aforeachdoesn't allocate. The interface versions are explicit.- The
TwoWayDictionaryconstructor throwsArgumentExceptionfor 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, withBUILD.txtnaming the commit and SDK.Yewnyx.Algorithms,Yewnyx.Collections,Yewnyx.Packables,Yewnyx.Packables.Newtonsoft0.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