You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2015/09/01 14:03:46 UTC

[jira] [Created] (MATH-1264) ANN: add "sort" method in "MapUtils"

Gilles created MATH-1264:
----------------------------

             Summary: ANN: add "sort" method in "MapUtils"
                 Key: MATH-1264
                 URL: https://issues.apache.org/jira/browse/MATH-1264
             Project: Commons Math
          Issue Type: Wish
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 4.0, 3.6


Add a method
{code}
public static Neuron[] sort(double[] features,
                            Iterable<Neuron> neurons,
                            DistanceMeasure distance) { /* ... */ }
{code}
that returns the neurons sorted in increasing order of their distance (in data space) to the given features.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)