AffineMultiFun

class negmas.preferences.AffineMultiFun(slope, bias=0)[source]

Bases: MultiIssueFun

Attributes Summary

bias

dim

slope

Methods Summary

__call__(x)

Call self as a function.

minmax(input)

rtype:

tuple[float, float]

scale_by(scale)

rtype:

AffineMultiFun

shift_by(offset)

rtype:

AffineMultiFun

xml(indx, issues[, bias])

rtype:

str

Attributes Documentation

bias: float
dim
slope: tuple[float, ...]

Methods Documentation

__call__(x)[source]

Call self as a function.

minmax(input)[source]
Return type:

tuple[float, float]

scale_by(scale)[source]
Return type:

AffineMultiFun

shift_by(offset)[source]
Return type:

AffineMultiFun

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

str