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 (Outcome) – The outcome tested
outcomes (Sequence[Outcome]) – A sequence of outcomes to compare to
outcome_space (OutcomeSpace | None) – The outcomespace used for comparison
distance_fun (DistanceFun) – The distance function
kwargs – Paramters to pass to the distance function
See also
generalized_euclidean_distance
- Return type