MoreComplexDataStructures 1.2.0

MoreComplexDataStructures is a class library containing a collection of data structures more complex than those found in the standard .NET framework.

The project currently contains the following data structures...

WeightBalancedTree - An implementation of a weight-balanced tree.  Although self-balancing is not yet implemented, the tree maintains counts of the nodes in each node's subtrees.  This allows methods GetCountGreaterThan(T item) and GetCountLessThan(T item) (which return the number of items greater than and less than a specified item) to return with order O(log(n)) time complexity.  The class also provides methods to perform pre, post, and in-order depth-first search, and breadth-first search.

MinHeap / MaxHeap - Tree-based implementations of a min and max heap.  Insert() and ExtractMin() / ExtractMax() methods return with order O(log(n)) time complexity.  Also provides methods to traverse the nodes of the underlying trees via a breadth-first search.

LongIntegerStatusStorer - Stores a true/false status for a complete set of long (Int64) integers.  Uses an underlying tree holding ranges of integers to store the statuses.  Also provides a method TraverseTree() to traverse the ranges stored in the tree via a breadth-first search.

ListRandomizer - Randomizes a List or Array using the Fisher/Yates/Knuth algorithm (O(n) time complexity).

WeightedRandomGenerator - Returns items randomly based on configured weightings.  The underlying implementation uses a tree, so the Generate() method returns with order O(log(n)) time complexity (where n is the number of weightings defined).

There is a newer version of this package available.
See the version list below for details.
Install-Package MoreComplexDataStructures -Version 1.2.0
dotnet add package MoreComplexDataStructures --version 1.2.0
<PackageReference Include="MoreComplexDataStructures" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MoreComplexDataStructures --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.9.1 180 3/29/2020
1.9.0 138 11/6/2019
1.8.0 128 9/16/2019
1.7.0 129 9/7/2019
1.6.0 168 7/27/2019
1.5.0 201 5/18/2019
1.4.0 510 2/10/2018
1.3.0 373 10/16/2017
1.2.0 399 8/26/2017
1.1.0 405 6/23/2017
Show less