platypus.indicators module

class EpsilonIndicator(reference_set)

Bases: Indicator

Additive epsilon-indicator (AEI) performance indicator.

Parameters

reference_setiterable of Solution

The reference set used for normalization.

calculate(set)

Calculates and returns the indicator value.

Parameters

setiterable of Solution

The collection of solutions against which the indicator value is computed.

class GenerationalDistance(reference_set, d=2.0)

Bases: Indicator

Generational distance (GD) performance indicator.

Parameters

reference_setiterable of Solution

The reference set used for normalization.

dfloat, default=2.0

The power used when computing the distance.

calculate(set)

Calculates and returns the indicator value.

Parameters

setiterable of Solution

The collection of solutions against which the indicator value is computed.

class Hypervolume(reference_set=None, minimum=None, maximum=None)

Bases: Indicator

Hypervolume performance indicator.

Parameters

reference_setiterable of Solution, optional

The reference set used for normalization.

minimumlist of float, optional

The minimum bounds for normalization.

maximumlist of float, optional

The maximum bounds for normalization.

calculate(set)

Calculates and returns the indicator value.

Parameters

setiterable of Solution

The collection of solutions against which the indicator value is computed.

class InvertedGenerationalDistance(reference_set, d=1.0)

Bases: Indicator

Inverged generational distance (IGD) performance indicator.

Parameters

reference_setiterable of Solution

The reference set used for normalization.

dfloat, default=1.0

The power used when computing the distance.

calculate(set)

Calculates and returns the indicator value.

Parameters

setiterable of Solution

The collection of solutions against which the indicator value is computed.

class Spacing

Bases: Indicator

Spacing performance indicator.

calculate(set)

Calculates and returns the indicator value.

Parameters

setiterable of Solution

The collection of solutions against which the indicator value is computed.