calg

package
v0.0.0-...-7352399 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KnapsackUsageLOPRI

func KnapsackUsageLOPRI(demands []int64, wantFracLOPRI float64) ([]int, int64)

func MaxMinFairWaterlevel

func MaxMinFairWaterlevel(demands []int64, admission int64) int64

Types

type HashingDowngradeSelector

type HashingDowngradeSelector struct {
	// contains filtered or unexported fields
}

func NewHashingDowngradeSelector

func NewHashingDowngradeSelector(childIDs []uint64, enableLogging bool) HashingDowngradeSelector

func (HashingDowngradeSelector) Free

func (ctx HashingDowngradeSelector) Free()

func (HashingDowngradeSelector) PickLOPRI

func (ctx HashingDowngradeSelector) PickLOPRI(wantFracLOPRI float64, isLOPRI *roaring.Bitmap)

Jump to

Keyboard shortcuts

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