With the continuous knapsack problem as we've formulated it, greedy is good.
因为正如我们已经归越过的,对于一般连续性背包问题贪婪算法很实用。
But let's look for a slight variant of it, where greedy is not so good. And that's what's called the zero-one knapsack problem.
但是让我们找一找它的一些变种,在这些变种中贪婪算法用处不大,这些问题也就是0/1背包问题。
Note: some people always thought that God is owed him, always feel that God's not enough, good enough, greedy desire have replaced the heart of Thanksgiving.
注:有些人总以为是上苍欠他的,老觉得老天爷给的不够多、不够好,贪婪之欲早已取代了感恩之心。
This fairy tale told us a reason: the greedy man is not good, Honest, kindhearted people must be god.
这童话故事告诉我们一个道理:贪心的人是不会有好下场的;诚实善良的人,一定会被上天善待。
"Greed is healthy," a financier told a college graduating class in the United States. "you can be greedy and still feel good about yourself."
贪心是健康的,美国一位金融家对一间大学的毕业生说,你可以一方面贪心,同时又感到心安理得。
At the end of the paper, it proves that the Ant Colony Algorithm is good through comparison it to the greedy method.
并将用蚁群算法得到的结果与基于贪心策略得到的结果进行了比较,效果较好。
Good Witch is flying over Greedy Witch's house in her flying basket when suddenly the flying basket feels tired, so they land near Greedy Witch's yard.
好巫婆乘飞篮经过贪巫婆家上空,突然,飞篮觉得累了,她们就在贪巫婆的院子附近着落了。
Good Witch is flying over Greedy Witch's house in her flying basket when suddenly the flying basket feels tired, so they land near Greedy Witch's yard.
好巫婆乘飞篮经过贪巫婆家上空,突然,飞篮觉得累了,她们就在贪巫婆的院子附近着落了。
应用推荐