[ 
https://issues.apache.org/jira/browse/SANDBOX-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237995#comment-13237995
 ] 

Claudio Squarcella commented on SANDBOX-416:
--------------------------------------------

Hi,

I just implemented and committed the change, see 
[r1305162|http://svn.apache.org/viewvc?view=revision&revision=1305162]. 
I'll wait for your ack before marking the issue as resolved!

Ciao,
Claudio
                
> Improve DFS/BFS visit states
> ----------------------------
>
>                 Key: SANDBOX-416
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-416
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>
> As discussed in 
> [ML|http://mail-archives.apache.org/mod_mbox/commons-dev/201203.mbox/%3CCAAqLGLOhZYC8qvT4TLugsnqCgw9BQ-%2BkYoGXVrKASy7PDZdeoQ%40mail.gmail.com%3E],
>  {{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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to