fprate

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFalsePositiveRate float64 = 0.0005
	ReducedFalsePositiveRate float64 = 0.00005
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FpRate

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

func NewFpRate

func NewFpRate() *FpRate

func (*FpRate) Reset

func (r *FpRate) Reset()

func (*FpRate) Update

func (r *FpRate) Update(block *util.Block, fps uint32) (fpRate float64)

Jump to

Keyboard shortcuts

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