trochee: (study)
[personal profile] trochee
Labmate just summarized a paper: "the naive algorithm is O(2n). He spends 10 pages explaining how his algorithm is O(1.9601n)."

My answer: "So if n is large, it's intractable anyway, and if n is small, it doesn't matter anyway."

"Basically, yeah."

I'm glad it's not me trying to justify that paper to the reading group.

Date: 2006-02-10 12:52 am (UTC)
From: [identity profile] marnanel.livejournal.com
wtf? the whole point of big O notation is that O(2n) is equivalent to O(1.9601n).

Date: 2006-02-10 12:52 am (UTC)
From: [identity profile] marnanel.livejournal.com
(which was probably your friend's point, I suppose.)

Date: 2006-02-10 01:00 am (UTC)
From: [identity profile] trochee.livejournal.com
well, they define a function big-O-star which discards polynomial-and-less, so under their definition O*(2n) ≠ O*(1.9601n).

But it's not a very interesting thing to prove.

Date: 2006-02-10 02:21 am (UTC)
From: [identity profile] tulip-tree.livejournal.com
But it's not a very interesting thing to prove.

No, it's really not. But I'm one of the few who did find this post funny. :)

Date: 2006-02-10 02:24 am (UTC)
From: [identity profile] trochee.livejournal.com
I live to serve.

A little linguistics, a little computer science today: everybody's happy.

Date: 2006-02-11 09:21 pm (UTC)
From: [identity profile] http://users.livejournal.com/merle_/
*laugh* Thanks.

There is some improvement there. 1.9601^10 ~= 837, a bit better than 1024. For huge problems where n>30, it's nice to have a slightly faster algorithm. But... yeah, it seems pretty insignificant.

Profile

trochee: (Default)
trochee

June 2016

S M T W T F S
   1234
567 89 1011
12131415 161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 28th, 2026 09:08 pm
Powered by Dreamwidth Studios