Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
lecture18_p_np

lecture18_p_np

Ratings: (0)|Views: 6|Likes:
Published by henry195367

More info:

Published by: henry195367 on Jan 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/14/2011

pdf

text

original

 
 
Slides
 
adapted
 
from
 
Anany
 
Levitin
 
Last
 
class…
 – 
Dynamic
 
Programming
 
solution
 
to
 
0
1
 
1constantlog
logarithmic
 – 
Time
 
Complexity
 
was
 
O(Wn)
near
log
nn- 
log
-n 
2
 
weight
 
of 
 
the
 
sack
n
 
is
 
the
 
number
 
of 
 
items
3
cubic
 – 
 
algorithm?
Where
 
does
 
is
 
fit
 
on
 
our
 
!factorial
 
2
 
Pay
 
P one
 
Co ector
 
Pro em
Problem
 – 
Must
 
collect
 
coins
 
from
 
city
 
pay
 
phones
 – 
Want
 
to
 
minimize
 
total
 
time
So,
 
only
 
visit
 
each
 
phone
 
once
Ideas?
3

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->