IdentityFun

class negmas.preferences.IdentityFun[source]

Bases: BaseFun

Attributes Summary

dim

Methods Summary

__call__(x)

Call self as a function.

from_dict(d)

max(input)

rtype:

float

min(input)

rtype:

float

minmax(input)

rtype:

tuple[float, float]

scale_by(scale)

rtype:

LinearFun

shift_by(offset)

rtype:

ConstFun

to_dict()

rtype:

dict[str, Any]

xml(indx, issue[, bias])

rtype:

str

Attributes Documentation

dim

Methods Documentation

__call__(x)[source]

Call self as a function.

Return type:

float

classmethod from_dict(d)
max(input)
Return type:

float

min(input)
Return type:

float

minmax(input)[source]
Return type:

tuple[float, float]

scale_by(scale)[source]
Return type:

LinearFun

shift_by(offset)[source]
Return type:

ConstFun

to_dict()
Return type:

dict[str, Any]

xml(indx, issue, bias=0.0)[source]
Return type:

str