Thursday, April 16, 2009

Query regarding Task1 Project 4

Hi All,

I am missing something in my understanding of Task 1. It is mentioned in the project description that we need to implement a depth criteria that will cut off the recursion when it crosses a depth-limit. But it is not clear to me what the value of depth-limit should be. Also further up ahead the description hints at "guessing the limit". So does that mean we need to experiment with different depth-limit values?

Please help me out.

Thanks.

2 comments:

  1. In my testing, I found that too low of a depth limit prevents my program from reaching a solution that exists. A really high depth limit means the program will spend longer recursing before giving up. So I just experimented until I found a good limit.

    ReplyDelete

Note: Only a member of this blog may post a comment.