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

Improve DFS/BFS visit detecting multiple states and related actions instead of just stop/continue

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Graph
    • None

    Description

      As discussed in ML, org.apache.commons.graph.visit.GraphVisitHandler methods that return boolean flags can be sometimes not so intuitive.

      The proposal is replacing boolean flags return statements with an enumeration values ABORT, CONTINUE, SKIP to identify

      • visit has to be immediately terminated
      • visit can continue;
      • current node children visit can be skipped.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: