utils

package
v0.0.0-...-e9647d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float64Heap

type Float64Heap []float64

func (*Float64Heap) GetTopRankAverage

func (h *Float64Heap) GetTopRankAverage() (average float64)

GetTopRankAverage 从5%~30%部分

func (Float64Heap) Len

func (h Float64Heap) Len() int

func (Float64Heap) Less

func (h Float64Heap) Less(i, j int) bool

func (*Float64Heap) Pop

func (h *Float64Heap) Pop() interface{}

func (*Float64Heap) Push

func (h *Float64Heap) Push(x interface{})

func (Float64Heap) Swap

func (h Float64Heap) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL