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

Move Graph algorithms APIs to fluent APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Graph
    • None

    Description

      since the component is still in Sandbox, it is the right chance to move forward and improve APIs user experience.

      For example, instead of a more "traditional" call

      Visit.breadthFirstSearch( Graph<V, E> graph, V source, GraphVisitHandler<V, E> handler )
      

      we could improve APIs in that way:

      on( graph ).visit().from( source ).applyingDepthFirstSearch( new MyHandler<V, E>() );
      

      making invocations more user friendly - and even fun!

      Attachments

        Activity

          People

            simone.tripodi Simone Tripodi
            simone.tripodi Simone Tripodi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: