SingleIssueFun

class negmas.preferences.SingleIssueFun(*args, **kwargs)[source]

Bases: Fun, Protocol

A value function mapping values from a single issue to a real number

Attributes Summary

dim

Methods Summary

__call__(x)

Call self as a function.

max(input)

min(input)

minmax(input)

scale_by(scale)

shift_by(offset)

xml(indx, issue[, bias])

Attributes Documentation

dim

Methods Documentation

__call__(x) float

Call self as a function.

max(input: Issue) float[source]
min(input: Issue) float[source]
minmax(input) tuple[float, float]
abstractmethod scale_by(scale: float) Fun
abstractmethod shift_by(offset: float) Fun
xml(indx: int, issue: Issue, bias=0.0) str[source]