go.container.heap
1.23.1.3
dotnet add package go.container.heap --version 1.23.1.3
NuGet\Install-Package go.container.heap -Version 1.23.1.3
<PackageReference Include="go.container.heap" Version="1.23.1.3" />
<PackageVersion Include="go.container.heap" Version="1.23.1.3" />
<PackageReference Include="go.container.heap" />
paket add go.container.heap --version 1.23.1.3
#r "nuget: go.container.heap, 1.23.1.3"
#:package go.container.heap@1.23.1.3
#addin nuget:?package=go.container.heap&version=1.23.1.3
#tool nuget:?package=go.container.heap&version=1.23.1.3
go.container.heap
C# package converted from the Go standard library by go2cs. Go version: 1.23.1
Package heap provides heap operations for any type that implements heap.Interface. A heap is a tree with the property that each node is the minimum-valued node in its subtree.
The minimum element in the tree is the root, at index 0.
A heap is a common way to implement a priority queue. To build a priority queue, implement the Heap interface with the (negative) priority as the ordering for the Less method, so Push adds items while Pop removes the highest-priority item from the queue. The Examples include such an implementation; the file example_pq_test.go has the complete source.
Part of the go2cs converted Go standard library. See the repository for usage and details.
Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages (2)
Showing the top 2 NuGet packages that depend on go.container.heap:
| Package | Downloads |
|---|---|
|
go.go.types
go.types (net9.0 - Release) -- C# project converted from Go source |
|
|
go.internal.trace
internal.trace (net9.0 - Release) -- C# project converted from Go source |
GitHub repositories
This package is not used by any popular GitHub repositories.