Classification of a problem: - does it requires algorithm also
Hi,
Just learnt that a problem in computer science can be divided into the following categories
For example, suppose there is a problem P that can be solved with three algorithms say A1, A2 and A3 where,
If P is solved using A1, then P is a Polynomial problem.
If P is solved using A2, then it becomes NP problem and if P is solved using A3 then it must be of a type different from Polynomial or Non-Polynomial problem.
Am I right?
In other words, is it fair enough to say that classification of a problem does also require the algorithm as an input?
Just learnt that a problem in computer science can be divided into the following categories
- Polynomial problems
- NP problems
- NP hard problems
- NP complete problems
For example, suppose there is a problem P that can be solved with three algorithms say A1, A2 and A3 where,
- A1 is polynomial in nature,
- A2 is non-polynomial and
- A3 has 'other' run-time characteristics different from A1 and A2.
If P is solved using A1, then P is a Polynomial problem.
If P is solved using A2, then it becomes NP problem and if P is solved using A3 then it must be of a type different from Polynomial or Non-Polynomial problem.
Am I right?
In other words, is it fair enough to say that classification of a problem does also require the algorithm as an input?
0