answersLogoWhite

0


Best Answer

P is the class of problems for which there is a deterministic polynomial time algorithm which computes a solution to the problem. NP is the class of problems where there is a nondeterministic algorithm which computes a solution to the problem, but no known deterministic polynomial time solution

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between P and NP complexity classes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science

What is the difference between NP and NP Complete problems?

- a problem in NP means that it can be solved in polynomial time with a non-deterministic turing machine - a problem that is NP-hard means that all problems in NP are "easier" than this problem - a problem that is NP-complete means that it is in NP and it is NP-hard example - Hamiltonian path in a graph: The problem is: given a graph as input, an algorithm must say whether there is a hamiltonian path in it or not. in NP: here is an algorithm that works in polynomial time on a non-deterministic turing machine: guess a path in the graph. Check that it is really a hamiltonian path. NP-hard: we use reduction from a problem that is NP-comlete (SAT for example). Given an input for the other problem we construct a graph for the hamiltonian-path problem. The graph should have a path iff the original problem should return "true". Therefore, if there is an algorithm that executes in polynomial time, we solve all the problems in NP in polynomial time.j


What are computer problems of class NP?

NP stands for Nondeterministic Polynomial time, and is a class of complexity of problems. A problem is in NP if the computing time needed grows exponentially with the amount of input, but it only takes polynomial time to determine if a given solution is correct or not.It is called nondeterministic because a computer that always automatically chooses the right course of action in each step would come up with a correct solution in polynomial time.


Is Node-disjoint paths np-complete?

No. Verifying if I'm lying is NP-Complete.


What is a np code?

The NP code is the same as the NUC (Network Unlock Code). The phone is locked to the Virgin network and requires a code from them to use another sim from a different operator. You may also find your local market trader or independent phone shop can unlock it for about £10.


Write a note on ATM layer performance measurement?

ATM LAYER PERFORMANCE MEASUREMENTATM Layer Performance:- It is known as information transfer performance and refers to performance related to cell transport service provided by network. The two key issues of ATM layer are:-NP (Network performance)Quality of Service (QOS)1. Network Performance:- It is used to manage the network and include parameters that are meaningful to network providers for system design configuration, operation and maintenance.Network performance is measure by network at various points while QOS is measure at end point. During continuation of service, these parameters can be calculating without affected users traffic. This require the NP procedure to be activated and de-activated. The calling end-point (A) generate an activation or de-activation request towards another end point (B) with request for action on either A to B, B to A or both direction. The requirement is generated with help of ATM OAM cell.I. ATM OAM Cell, Activation, de-activation function specific fields:-II.Message ID000001 à Activation request000010 à Activation confirmed000011 à Activation request denied000101 à Deactivation request000110 à Deactivation confirmed000111 à Deactivation request deniedIf other point B respond to all of request then activation or deactivation confirmed message is returned otherwise activation deactivation confirmed message, request denied message is confirmed.2 Direction of action:It has two value that is from activator(10) or towards activator(01).3 Correlation tag:It has same value for all packets.4 PM block size A-B:It is identifier performance measurement block which can supported from A to B by a bit mask of 1024 bytes, 512, 256, 00 128 bytes. From most significant bit to least significant bit respectively.5 PM block size B-A:It identifies the performance measurement block which can be supported from B to A by a bit mask of 1024, 512, 256, 128 bytes from most significant bit to least significant bit respectively.Quality of Service (QOS):- QOS is end users view about working of network and includes parameters that can be directly observe and measure by user and are described in network independent terms.QOS is defined in terms of following cell transfer outcomes:-Successful cell transfer outcome:- the cell is received corresponding to transmitted cell within a specified time. The binary content of received cell confirm exactly to corresponding cell payload and the cell is received with valid header field.Errored cell outcome:- the cell is received within specified time but binary content of received cell payload differs from that of corresponding transmitted cell.Cost cell outcome:- no cell is received corresponding to transmitted cell within specified time.Misinserted cell outcome:- a received cell for which there is no transmitted cell.Severely error cell block outcome:- when N or more cell outcome or errored cell outcome are reserved in a received cell block of N-cells transmitted consecutively on a given connection.Parameters for measuring information transfer performance:-Cell delay variation.Cell error ratio.Cell Loss RatioCell Misinsertion RatioCell transfer delayCell error ratio: is the ratio of PDU's received at an end point which contains an invalid CRC in relation to total no. of cells properly transmitted associated with given traffic load.Signal metrics:1. CAC rejection or denial time: The amount of time required fo0r CAC to determine that cell must be rejected, it is measured in seconds.Connection establishment time:- The amount of time between first setup message from calling party and connect message to it. It is also measured in seconds.Connection teardown time:- The amount of time between the release message being sent and release complete message being received. It is also measured in seconds.

Related questions

Difference between np and np complete?

A problem is 'in NP' if there exists a polynomial time complexity algorithm which runs on a Non-Deterministic Turing Machine that solves it. A problem is 'NP Hard' if all problems in NP can be reduced to it in polynomial time, or equivalently if there is a polynomial-time reduction of any other NP Hard problem to it. A problem is NP Complete if it is both in NP and NP hard.


How do you earn an Np certification?

There are many ways to get your NP certification. One way is to take classes online at Universtiy of Phoenix Online: http://www.soberrecovery.com/links/northwest.html. Another way is to go to your local college or University and inquire about classes.


Difference between np hard and np complete?

All NP complete problems are NP hard problems when solved in a different way. But, all NP hard problems are not NP complete. Ex: 1. Traveling salesman problem. It is both NP hard and NP complete. We can find that whether the solution is correct or not in the given period of time. In this way, it is NP complete. But, to find the shortest path, i.e. optimization of Traveling Salesman problem is NP hard. If there will be changing costs, then every time when the salesperson returns to the source node, then he will be having different shortest path. In this way, it is hard to solve. It cannot be solved in the polynomial time. In this way, it is NP hard problem. 2. Halting problem. 3. Sum of subset problem.


What are some transformice tribe house codes?

House codes:/np @931629/np @709003Bootcamp like codes:/np @172976/np @608368/np @191205/np @842019/np @159932/np @593204/np @145219/np @1450120/np @449496/np @618999/np @801683/np @1014313/np @1444036/np @633644/np @808800/np @1444041Thats all I got sorry if some don't work I didn't check them allIf you want to find me on TFM my user is Butterbe


What is the difference between NP and NP Complete problems?

- a problem in NP means that it can be solved in polynomial time with a non-deterministic turing machine - a problem that is NP-hard means that all problems in NP are "easier" than this problem - a problem that is NP-complete means that it is in NP and it is NP-hard example - Hamiltonian path in a graph: The problem is: given a graph as input, an algorithm must say whether there is a hamiltonian path in it or not. in NP: here is an algorithm that works in polynomial time on a non-deterministic turing machine: guess a path in the graph. Check that it is really a hamiltonian path. NP-hard: we use reduction from a problem that is NP-comlete (SAT for example). Given an input for the other problem we construct a graph for the hamiltonian-path problem. The graph should have a path iff the original problem should return "true". Therefore, if there is an algorithm that executes in polynomial time, we solve all the problems in NP in polynomial time.j


What are some house tribe codes?

House codes: /np @931629 /np @709003 Bootcamp like codes: /np @172976 /np @608368 /np @191205 /np @842019 /np @159932 /np @593204 /np @145219 /np @1450120 /np @449496 /np @618999 /np @801683 /np @1014313 /np @1444036 /np @633644 /np @808800 /np @1444041 That's all I know, but I hope it'll be to help ^^


How do you explain what P NP and NP complete complexity classes are in a simple way?

P is the class of problems that can be solved in polynomial time. That is, the size of the input affects the length of the computation multiplicatively. NP is the class of problems in which the effect of input size on the length of the computation is exponential or factorial. In addition, for a problem to be in this class, a proposed or candidate solution must be checkable in polynomial time. The usual example here has to do with multiplication and factoring. You can take two very long prime numbers and quickly multiply them. So multiplication is in P. Given the result of that multiplication, the task of finding its prime factors is not easy. That is, there is no known algorithm that can solve the factoring problem (given very large numbers) in polynomial time. Within the NP class is a subclass consisting of the hardest problems in NP. A problem belonging to this class is called NP-complete. This means that, if a solution can be found to this problem (examples include the travelling salesman problem and the trunk-packing problem), then that solution can be transformed into a solution for all NP problems.


What is set difference between recursive and recursively enumerable but not recursive?

All recursive Languages are recursively enumerable. But not all the recursively enumerable languages are recursive. It is just like NP complete.


State cook's theorem?

In computational complexity theory, Cook's theorem, also known as the Cook–Levin theorem, states that the Boolean satisfiability problem is NP-complete. That is, any problem in NP can be reduced in polynomial time by a deterministic Turing machine to the problem of determining whether a Boolean formula is satisfiable.


What Distance between craters of the moon national monument and Yellowstone np?

555


What are computer problems of class NP?

NP stands for Nondeterministic Polynomial time, and is a class of complexity of problems. A problem is in NP if the computing time needed grows exponentially with the amount of input, but it only takes polynomial time to determine if a given solution is correct or not.It is called nondeterministic because a computer that always automatically chooses the right course of action in each step would come up with a correct solution in polynomial time.


What are the nations in the plains?

If you mean the interior plains of the USA, these would include Badlands NP and Theodore Roosevelt NP. If you include the interior plains of Canada, then add Elk Island NP, Grasslands NP, Riding Mountain NP; and perhaps Prince Albert NP and Wood Buffalo NP.