density

package
v0.0.0-...-b785d8d Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2015 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BigThres uint64 = 5000 // slightly more than 3 MTUs

Functions

This section is empty.

Types

type Density

type Density struct {
	NonZeroElements   int
	NonZeroHosts      int
	NonZeroPerHostMax int
	NonZeroPerHost50  int
	NonZeroPerHost90  int

	BigElements   int
	BigHosts      int
	BigPerHostMax int
	BigPerHost50  int
	BigPerHost90  int
}

func (*Density) Clear

func (self *Density) Clear()

func (*Density) Count

func (self *Density) Count(m structs.Matrix)

func (*Density) CountSparse

func (self *Density) CountSparse(s structs.Sparse)

func (*Density) Max

func (self *Density) Max(d *Density)

func (*Density) PrintTo

func (self *Density) PrintTo(out io.Writer)

func (*Density) String

func (self *Density) String() string

Jump to

Keyboard shortcuts

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