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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Graph
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: