commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Squarcella (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SANDBOX-344) No WeightedGraph in current method signatures
Date Sat, 10 Dec 2011 20:56:40 GMT
No WeightedGraph in current method signatures
---------------------------------------------

                 Key: SANDBOX-344
                 URL: https://issues.apache.org/jira/browse/SANDBOX-344
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: Graph
            Reporter: Claudio Squarcella
            Priority: Minor


Hello,

following a discussion on the mailing list (mainly with Simone) I am providing a small patch
to "get rid" of the interface {{WeightedGraph}} in all the method signatures for the algorithms
currently implemented, basically replacing it with the equally expressive {{Graph<V extends
Vertex, We extends WeightedEdge>}}.

The main reason: keep it simple. So far none of the algorithms really needs the {{WeightedGraph}}
interface (e.g. no need for additional methods that cannot be found in {{Graph}}). With that
said I did NOT remove the {{WeightedGraph}} interface.

Hoping to meet your agreement and waiting for comments,
Ciao
Claudio

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message