PointMethodASF¶
-
class
desdeo_tools.scalarization.
PointMethodASF
(nadir, ideal, rho=1e-06, rho_sum=1e-06)[source]¶ Bases:
desdeo_tools.scalarization.ASF.ASFBase
Implementation of the reference point based ASF as presented in Miettinen 2006 equation (3.3)
- Parameters
nadir (np.ndarray) – The nadir point.
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. –
Note
Lack of better name…
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.