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

Move Graph algorithms APIs to fluent APIs

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            simone.tripodi Simone Tripodi
            simone.tripodi Simone Tripodi

            Dates

              Created:
              Updated:

              Issue deployment