PBCD.Algorithms
1.0.6717.20626
dotnet add package PBCD.Algorithms --version 1.0.6717.20626
NuGet\Install-Package PBCD.Algorithms -Version 1.0.6717.20626
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PBCD.Algorithms" Version="1.0.6717.20626" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PBCD.Algorithms --version 1.0.6717.20626
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PBCD.Algorithms, 1.0.6717.20626"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PBCD.Algorithms as a Cake Addin #addin nuget:?package=PBCD.Algorithms&version=1.0.6717.20626 // Install PBCD.Algorithms as a Cake Tool #tool nuget:?package=PBCD.Algorithms&version=1.0.6717.20626
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
See Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne for detail explanation of each
Here is the repository of this package.
The main namespace is called PBCD.Algorithms which includes the following sub namespaces:
- ComputationalGeometry
- DataStructure
- Graphs
- Randomization
- SearchTree
- Sort
- ComputationalGeometry
- ConvexHull: Gets a set of 2D points and returns a subset of them representing the smallest convex polygon that includes all points.
- DataStructure
- PriorityQueue: There are two implemented versions this DS, MaxPriorityQueue and MaxPriorityQueue.
- QuickUnion: Uses weighted quick-union with path compression to calculate connected components in O(1). Initial it by providing the number of components (nodes) and keep connecting them using Union() method. Note that you cannot disconnect component. Property Count returns the number of components and node p and q are connected if Find(p) == Find(q)
- TRIE: This TRIE works with any chain of keys and not just strings. Also, in additional to regular TRIE functions, this one returns number of matching prefixes in O(l) where l is the length of the prefix.
- Graphs
- Digraph
- Digraph: Represents a directed graph. This
- TopologicalSort: Gets a digraph and return their IDs sorted topological
- DirectedBFS: Gets a digraph and the index of the source vertex and calculates the path to every other vertex (if existing) using Depth-first search algorithm. HasPathTo(v) costs O(1) to check if there is a path to vertex v.
- DirectedDFS: Same as DirectedBFS but uses Breadth-first search algorithm.
- SCC_KosarajuSharir : Uses Kosaraju Sharir Algorithm (TopologicalSort class) to calcualte Strongly connected component
- BipartiteGraph: Departs the graph into two groups if possible and returns true. Otherwise returns false
- BreadthFirstPaths
- DepthFirstPaths
- ConnectedComponents
- Graph
- Digraph
- Randomization
- WeightedRandom: Randomly select specified number of items from the list.The items with higher weight are in the result with higher probability.
- SearchTree
- BinarySearchTree
- RedBlackTree: It is a Left Leaning Red-Black tree (LLRB Tree)
- OST: Order Statistics Tree is a RedBlack tree which is able to return the rank of each elements
- Sort : All sorts of sorts
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
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 | Downloads | Last updated |
---|---|---|
1.0.6717.20626 | 1,130 | 5/23/2018 |
1.0.6709.20566 | 976 | 5/15/2018 |
1.0.6705.25959 | 972 | 5/11/2018 |
1.0.6703.28604 | 976 | 5/9/2018 |