commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baljit Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1479) Remove Point
Date Wed, 10 Apr 2019 20:31:00 GMT
Baljit Singh created MATH-1479:
----------------------------------

             Summary: Remove Point
                 Key: MATH-1479
                 URL: https://issues.apache.org/jira/browse/MATH-1479
             Project: Commons Math
          Issue Type: Task
            Reporter: Baljit Singh


Binding generic interfaces and classes with Point does not have any implications on most classes.
Point interface should be removed. For classes that do require a distance method, there should
be a Metric<P> (as in metric space) interface. This leads to a much cleaner and consistent
API. Also semantically, a point is just a bunch of coordinates, and does not define distance...
it is the metric that does.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message