Re: tar to multiple files
From: Ed Murphy (emurphy42_at_socal.rr.com)
Date: 09/10/03
- Next message: Dave Carrigan: "Re: tar to multiple files"
- Previous message: Mauriat: "Re: RealPlayer9 on RH9"
- In reply to: Andy Baxter: "Re: tar to multiple files"
- Next in thread: Dave Carrigan: "Re: tar to multiple files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Sep 2003 16:36:55 GMT
On Wed, 10 Sep 2003 13:29:36 +0100, Andy Baxter wrote:
> Peter T. Breuer wrote:
>> OK. Well, you'll have to solve the bin-packing problem then. Sorry, but
>> it's equivalent to the travelling salesman problem. And that's
>> NP-complete.
> Is NP-completeness where any algorithm for an optimal solution grows very
> fast (according to some definition I can't remember) compared to the number
> of entities involved?
Kinda sorta.
NP is the set of problems that can be solved by a deterministic algorithm
that takes polynomial time, compared to the number of inputs.
P is the set of problems for which a potential solution can be checked by
a deterministic algorithm that takes polynomial time.
NPC is the set of problems in NP (X) such that any other problem in NP (Y)
can be reduced to X (i.e. an algorithm to solve X leads to an algorithm to
solve Y) in polynomial time.
Any problem in NPC (and thus any problem in NP) can be solved by a
deterministic algorithm that runs in *exponential* time: simply
generate and test every possible solution. However, compared to *any*
polynomial time (no matter how awful), exponential time - given
sufficiently many inputs - is even worse.
One of the Big Questions in mathematics is: "Does any problem in
NPC (and thus every problem in NP) belong to P?" Most mathematicians
believe the answer is no.
This will give you lots more detail:
http://www.wikipedia.org/wiki/Complexity_classes_P_and_NP
- Next message: Dave Carrigan: "Re: tar to multiple files"
- Previous message: Mauriat: "Re: RealPlayer9 on RH9"
- In reply to: Andy Baxter: "Re: tar to multiple files"
- Next in thread: Dave Carrigan: "Re: tar to multiple files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|