substatoptimizer

package
v0.5.13 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrintStatsCounts

func PrettyPrintStatsCounts(statsCounts []int) string

Helper function to pretty print substat counts. Stolen from similar function that takes in the float array

func RunSubstatOptim

func RunSubstatOptim(simopt simulator.Options, verbose bool, additionalOptions string)

Additional runtime option to optimize substats according to KQM standards

Types

type Slice

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

Thin wrapper around sort Slice to retrieve the sorted indices as well

func NewSlice

func NewSlice(n ...float64) *Slice

func (Slice) Len

func (s Slice) Len() int

func (Slice) Less

func (s Slice) Less(i, j int) bool

func (Slice) Swap

func (s Slice) Swap(i, j int)

Jump to

Keyboard shortcuts

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