LambdaMultiFun

class negmas.preferences.LambdaMultiFun(f, bias=0, min_value=None, max_value=None)[source]

Bases: MultiIssueFun

Attributes Summary

bias

dim

f

max_value

min_value

Methods Summary

__call__(x)

Call self as a function.

minmax(input)

rtype:

tuple[float, float]

scale_by(scale)

rtype:

LinearMultiFun

shift_by(offset)

rtype:

AffineMultiFun

xml(indx, issues[, bias])

rtype:

str

Attributes Documentation

bias: float
dim
f: Callable[[Any], float]
max_value: float | None
min_value: float | None

Methods Documentation

__call__(x)[source]

Call self as a function.

Return type:

float

minmax(input)[source]
Return type:

tuple[float, float]

scale_by(scale)[source]
Return type:

LinearMultiFun

shift_by(offset)[source]
Return type:

AffineMultiFun

xml(indx, issues, bias=0)[source]
Return type:

str