[jgrapht-users] stop at node in BFS
Brought to you by:
barak_naveh,
perfecthash
From: Matthias K. <mat...@gm...> - 2013-04-03 09:24:58
|
Hi, I want to do a BFS where some nodes are excluded. To clarify, If BFS accesses such a specified node I want BFS to stop at this node and don't insert it to the results nor giving me the neighbors of the node but I want BFS to go on other nodes. In other words, I want to exclude the subgraphs beneath specified nodes. If another unspecified node is also able to access the subgraph I need the subgraph and it shoudlnt be excluded. is it possible to do so with JGraphT? If yes, how? Hope you understand my desire =) Regards, MK |