LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-12-2006, 02:57 AM   #76
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15

take subset sum. given a subset of numbers find sum n in that set.

let subset-sum-nm be check to make sure the sum is above the number of indexes, n, times the constant m. make sure the sum is above this too, otherwise reject. if not rejected, run subset-sum.

claim: forevery m, subset-sum-nm is in np-complete.
take an input for subset sum, add m to each index, and n*m to the sum, run on subset-sum-nm. this is a polynomial time transformation.

there are infinitely many problems in np-complete!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seeing if this is true or not. LunarEagle Linux - Newbie 5 02-18-2005 12:33 PM
What is true OOP? tumana Programming 4 09-13-2004 06:51 AM
is this true? chrismiceli General 6 10-12-2003 07:00 AM
this is funny, if true frieza General 9 09-29-2003 06:15 PM
Its too good to be true!!!!! arun79 General 3 05-25-2003 07:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration