selector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultWeight = 10

DefaultWeight .

Functions

This section is empty.

Types

type Selector

type Selector interface {
	GetDataSourceNo() int
}

func NewWeightRandomSelector

func NewWeightRandomSelector(weights []int) Selector

NewWeightRandomSelector new weight random selector

Jump to

Keyboard shortcuts

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