MASBicudo Data Structures - Immutables, Continuous.
Install-Package masbicudo.data.structures -Version 1.2.2
dotnet add package masbicudo.data.structures --version 1.2.2
<PackageReference Include="masbicudo.data.structures" Version="1.2.2" />
paket add masbicudo.data.structures --version 1.2.2
**Immutable tree and Continuous set.**
Immutable structures cannot be changed after they are created,
you must replace the entire thing when changes must be made.
Good for multi-threading, functional programming, few-writes/many-reads approaches.
Tree builders are available (e.g. convert flat data to tree, e.g. DB table).
Uses tree visitors to change tree.
Continuous set is a set that is not discrete. It's better explained with an example:
a set with all values between 1.1 (inclusive) and 2.7 (exclusive).
Can have multiple sequences, actually can represent a set of any type
for which an IComparable<T> can be implemented (Double, String, DateTime, Int32).
Set operations available (e.g. union, exclusion, intersection)
Tests can be found in GitHub project page.
This package has no dependencies.