Ben: We sort of imploded, I imploded it, because I don't know if I can be with her forever. Why is everybody so in love, and just so sure?
Matt: We are not. I have doubts about Amanda all the time.We are not perfect. Me and Amanda getting married, we are just going for it. We don't know.
Ben: So what's the point?
情节嘛也就那么回事,估计大多数人看过类似的很多部了。
有些道理倒是真的。其实人一直就是在做一个全局最优解的题目,时间复杂度O(n) - n 是活的年头,空间复杂度是O(nm) - m 是个人资源,长相钱财都算在内。我们要在有限的时间内利用我们的资源找到最大的回报。
爱情这个事是一个典型的NP(Nondeterministic Polynomial)难度的问题。通常的解法就是用greedy algorithm寻找一个近似的可以接受的局部最优解了事。是不是全局最优,其实并不清楚。考虑到世界的复杂和人口的数量级,我猜往往不是的
结伴婚礼:后劲十足的爱情片 冰激凌的所有口味
转载请注明网址: https://www.bamatg.com/dm/id-14418.html