Hi,

DFS does not search the whole tree before printing the first solution.  Please 
read the reference documentation on the DFS class or the dfs function 
(depending on which one you use), the description should be quite clear.

Cheers,
Guido

-- 
Guido Tack
http://www.csse.monash.edu/~guidot/



On 3 Dec 2013, at 12:52 pm, naguissa light <[email protected]> wrote:

> hi all !
> 
> i want to know if there is a possibility to stop the DFS search after just 
> finding the first solution, i want to do that because i just want one 
> solution and i think that the DFS searchs in the whole tree after that it 
> prints one solution that's why when i run my model i takes too much time to 
> print the solution 
> 
> So is that possible to do??
> 
> 
> Thank you 
> 
> Naguissa
> _______________________________________________
> Gecode users mailing list
> [email protected]
> https://www.gecode.org/mailman/listinfo/gecode-users

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to