metrics

package
v0.0.0-...-e1d4e1a Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HVReferenceNadirTimes

func HVReferenceNadirTimes(coefficient float64, cmop types.Cmop) func() []float64

func HyperVolume

func HyperVolume(population []types.Individual, referencePoint []float64) (s float64)

Hypervolume requires the command line tool http://lopez-ibanez.eu/hypervolume#building

func InvertedGenerationalDistance

func InvertedGenerationalDistance(population []types.Individual, paretoFront [][]float64) (s float64)

Types

type Results

type Results struct {
	ParetoFront [][]float64

	IGD, HV              metricData
	HyperVolumeReference func() []float64
	// contains filtered or unexported fields
}

func (*Results) Add

func (r *Results) Add(archive []types.Individual)

func (Results) FeasibilityRate

func (r Results) FeasibilityRate() float64

Jump to

Keyboard shortcuts

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