NLevelsComparatorNegotiator

class negmas.negotiators.NLevelsComparatorNegotiator(*args, thresholds: Optional[List[float]] = None, **kwargs)[source]

Bases: negmas.negotiators.NLevelsComparatorMixin, negmas.negotiators.Negotiator

A negotiator that can be asked to compare two outcomes using compare_nlevels which returns the strength of the difference between two outcomes as an integer from [-n, n] in the C compare sense. By default is just consults the ufun.

To change that behavior, override compare_nlevels.

It has the compare-nlevels capability.