reset password
Author Message
iamrajakumar
Posts: 9
Posted 18:44 Nov 01, 2019 |

In the previous question you have talked about brute force and s^n to identify problem difficulty. 

Previous topic link: https://csns.calstatela.edu/department/cs/forum/topic/view?id=7400550

But still it is not clear on the boundary on what value of s ^ n should be considered easy vs medium vs hard.

Can you define limits for those s^n like

Easy is < 250 (Considering Farmer Boat (WGC) problem is 2 ^ 3 = 8)

Medium is between 250 and 1000 (inclusive)

Hard is >1000

**Feel free to change the numbers but we would like to define a boundary that helps us choose and define the difficulty of the problems we choose. That will help us plan for 3 points.

And also wanted to know if we solve sub puzzles of the same problem given on that website and solve all of them in a general way then is it counted.

Eg. For FourSum problem there are 6 puzzle in the given website. And if we solve all 6 of them in a general way with different puzzle inputs is that considered as the (s^n) * 6 where 6 is the no. of puzzles solved on that problem in the given website. Is that the case or just the s ^ n should be counted.

Link to FourSum: https://www.transum.org/Software/SW/Starter_of_the_day/Students/Hot/FourSum.asp

For FouSum problem : s = 4, n = 4 and no. of puzzle is 6. Thus (4 ^ 4) * 6 = 256 * 6 = 1536 

or 

should only take 4 ^ 4 as 256.

 

By defining the counts, it will be very easy for us to calculate and know the difficulty better and plan for the points. 

rabbott
Posts: 1649
Posted 19:03 Nov 01, 2019 |

This looks like the same post as the one at the end of the previous thread. So I'll respond just here.

1. An immediate concern is that this is no a planning problem like wolf-goat-cabbage. It's essentially the same as SEND+MORE=MONEY. It's not planning because it doesn't require the system to generate a sequence of steps that will take it from an initial state to a final state.  That is, the output from the system is not a sequence of steps., which is what defines a planning problem.

2. If you solve a problem of one sort, you should be able to solve other similar problems using the same model.  That's not a matter of solving multiple problems; it's a matter of using a single model to solve different instances of a single problem type. So it counts as only one problem, not as a problem for each example instance. 

3. That's why a fixed complexity constant doesn't work. A larger version of the same problem type is not more complex if the same model can handle it. Yet a larger version of the same problem type will require more brute force trials than a smaller one. So a fixed number of brute force trials doesn't capture very much. What matters in complexity is the function that characterizes how fast the number of brute force trials grows as a function of the size of the problem. If the problem is of size n, do you in the worst-case need n*2, 2^n, n^n, etc. brute force trials to get to the solution? In any event, I suggested thinking in complexity-like terms as a way to get started on estimating the difficulty of a problem. I don't have a formal measure of problem difficulty. Use your best judgment. 

iamrajakumar
Posts: 9
Posted 19:47 Nov 01, 2019 |

Thanks for the clarification. We totally missed the planning nature of the problem.