Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-344

No WeightedGraph in current method signatures

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Graph

      Description

      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

        Attachments

        1. NoWeightedGraphInMethodSignatures.patch
          16 kB
          Claudio Squarcella

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              claudio.squarcella Claudio Squarcella
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: