StomASF

class desdeo_tools.scalarization.StomASF(ideal, rho=1e-06, rho_sum=1e-06)[source]

Bases: desdeo_tools.scalarization.ASF.ASFBase

Implementation of the satisfying trade-off method (STOM) as presented in Miettinen 2006 equation (3.2)

Parameters
  • ideal (np.ndarray) – The ideal point.

  • rho (float) – A small number to form the utopian point.

  • rho_sum (float) – A small number to be used as a weight for the sum

  • term.

ideal

The ideal point.

Type

np.ndarray

rho

A small number to form the utopian point.

Type

float

rho_sum

A small number to be used as a weight for the sum

Type

float

term.

Methods Summary

__call__(objective_vectors, reference_point)

Evaluate the ASF.

Methods Documentation

__call__(objective_vectors, reference_point)[source]

Evaluate the ASF.

Parameters
  • objective_vectors (np.ndarray) – The objective vectors to calculate

  • values. (the) –

  • reference_point (np.ndarray) – The reference point to calculate the

  • values.

Returns

Either a single ASF value or a vector of values if objective is a 2D array.

Return type

Union[float, np.ndarray]

Note

The reference point may not always necessarily be feasible, but it’s dimensions should match that of the objective vector.