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

No WeightedGraph in current method signatures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: