TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Snowblowing is NP-complete

91 pointsby johndcookover 10 years ago

5 comments

rcthompsonover 10 years ago
Now I feel less bad about the vague suspicion that I was mowing my dad's lawn suboptimally for all those years.
ameliusover 10 years ago
Reminds me of Sokoban, which is NP-hard [1]<p>[1] <a href="http://en.wikipedia.org/wiki/Sokoban" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sokoban</a>
doucheover 10 years ago
I don&#x27;t understand the reference to lawn-mowing being NP-complete - I thought I had a good algorithm: mow once around the outside, blowing grass inward, to get the edges without hitting things with the exhaust chute, then afterwards mow concentrically, blowing grass outward. Once the width is less than the turning radius of the mower, switch to only mowing along the long axis of the area.<p>Now, when there are rocks, stumps or trees within the area things get more interesting, depending on your tolerance for having to sharpen the blades...
评论 #9024864 未加载
评论 #9025551 未加载
exabrialover 10 years ago
What if you&#x27;re raking wind rows... how does that affect the mowing problem? :)
snissnover 10 years ago
I don&#x27;t think the author understands what np complete actually means. I don&#x27;t think that it is easy to verify that a snow Blown path is optimally efficient. It&#x27;s interesting to discuss the complexity of day to day tasks, but optimal cleaning seems to be np hard, not np complete. You may think that you have the optimal solution until a friend of yours shows you his solution.
评论 #9025208 未加载
评论 #9024912 未加载