commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Created) (JIRA)" <>
Subject [jira] [Created] (SANDBOX-416) Improve DFS/BFS visit states
Date Sun, 25 Mar 2012 21:42:28 GMT
Improve DFS/BFS visit states

                 Key: SANDBOX-416
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: Graph
            Reporter: Simone Tripodi
            Assignee: Simone Tripodi

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message