Documentation ¶
Index ¶
- func GenerateSamples(fun func(u []float64, i int) float64, n, p, nthrd int) ([][]float64, []float64)
- func GenerateTop(fp string, eval func(u []float64, i int) float64, s sampler.Set, nsamples int, ...)
- func RankSamples(f []float64, minimize bool) []int
- func RankedUnBiased(fun func(u []float64, i int) float64, n, s, nthrd int) ([][]float64, []float64, []int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSamples ¶
func GenerateSamples(fun func(u []float64, i int) float64, n, p, nthrd int) ([][]float64, []float64)
GenerateSamples returns the result from n evaluations of fun() sampling from p-hypercube
func GenerateTop ¶
func GenerateTop(fp string, eval func(u []float64, i int) float64, s sampler.Set, nsamples int, minOF float64)
GenerateTop returns nsamples of function evaluations that exceed the minOF
func RankSamples ¶
RankSamples ranks samples accoring to evaluation value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.