min_dist
- negmas.outcomes.min_dist(test_outcome, outcomes, outcome_space, distance_fun=<function generalized_minkowski_distance>, **kwargs)[source]
Minimum distance between an outcome and a set of outcomes in an outcome-spaceself.
- Parameters:
test_outcome (
tuple
) – The outcome testedoutcomes (
Sequence
[tuple
]) – A sequence of outcomes to compare tooutcome_space (
OutcomeSpace
|None
) – The outcomespace used for comparisondistance_fun (
Callable
[[tuple
,tuple
,Optional
[OutcomeSpace
]],float
]) – The distance functionkwargs – Paramters to pass to the distance function
- Return type:
See also
generalized_euclidean_distance