AffineFun ========= .. currentmodule:: negmas.preferences .. autoclass:: AffineFun :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~AffineFun.bias ~AffineFun.dim ~AffineFun.slope .. rubric:: Methods Summary .. autosummary:: ~AffineFun.__call__ ~AffineFun.from_dict ~AffineFun.max ~AffineFun.min ~AffineFun.minmax ~AffineFun.scale_by ~AffineFun.shift_by ~AffineFun.to_dict ~AffineFun.xml .. rubric:: Attributes Documentation .. autoattribute:: bias .. autoattribute:: dim .. autoattribute:: slope .. rubric:: Methods Documentation .. automethod:: __call__ .. automethod:: from_dict .. automethod:: max .. automethod:: min .. automethod:: minmax .. automethod:: scale_by .. automethod:: shift_by .. automethod:: to_dict .. automethod:: xml