[
https://issues.apache.org/jira/browse/MATH-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles resolved MATH-1264.
--------------------------
Resolution: Implemented
Code added in the following commits:
69b5c82140d95c2d584b98c14d15f1066d55f187 (3.6)
6c21bdb4a107b49e57c9e5d6598d13ce6f85fc5d (4.0)
> 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
> Labels: api-addition
> 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)