avatar
attic fan noise# Living
J*i
1
有N个整数,M个bucket,每个bucket都可以装至少N个整数
一个bucket的value等于放入它的所有整数的和
现求解一种分配方法,使之 minimize(the max value of all buckets)
看起来像bin packing问题,但好像又不是~
avatar
n*e
2
最近这个热啊。刚在屋顶(roof不是ceiling)装了一个roof top vent,蘑菇状带电扇
的那种。可
是在二楼卧室里和走道上能听见声音啊,正常吗?
这玩意儿到底有多大用处?跟锅盖似的,在屋顶挺不好看的。想多开几个口子,装几个
dormer
vents,不带电扇那种。不知道这决定是不是比较傻。房子在南加,夏天这叫一个热啊
。快热傻了。
avatar
J*i
3
就是你往一个bucket可以装从0个到N个数,都可以
avatar
z*n
4
LA今年奇了,每天半夜冷死,觉得快冻感冒了
每天都是五十多度到80多度,温差太大了

【在 n***e 的大作中提到】
: 最近这个热啊。刚在屋顶(roof不是ceiling)装了一个roof top vent,蘑菇状带电扇
: 的那种。可
: 是在二楼卧室里和走道上能听见声音啊,正常吗?
: 这玩意儿到底有多大用处?跟锅盖似的,在屋顶挺不好看的。想多开几个口子,装几个
: dormer
: vents,不带电扇那种。不知道这决定是不是比较傻。房子在南加,夏天这叫一个热啊
: 。快热傻了。

avatar
g*s
5
unsigned int or int?

【在 J*******i 的大作中提到】
: 有N个整数,M个bucket,每个bucket都可以装至少N个整数
: 一个bucket的value等于放入它的所有整数的和
: 现求解一种分配方法,使之 minimize(the max value of all buckets)
: 看起来像bin packing问题,但好像又不是~

avatar
J*i
6
unsigned int is fine

【在 g*********s 的大作中提到】
: unsigned int or int?
avatar
g*s
7
then actually we can assume positive int, as zero doesn't matter.
sounds like a job assignment/scheduling problem:
given n task with different execution time and m workers, assign the task
to workers such that the task can be finished at the earliest time.
Job shop scheduling
http://en.wikipedia.org/wiki/Job_shop_scheduling

【在 J*******i 的大作中提到】
: unsigned int is fine
avatar
i*s
8
This is NP complete. Suppose we have only 2 buckets, and a set of numbers.
Then the multiset partitioning problem (NPC) can be reduced to this problem.
avatar
J*i
9
Thanks a lot for the reference!

task

【在 g*********s 的大作中提到】
: then actually we can assume positive int, as zero doesn't matter.
: sounds like a job assignment/scheduling problem:
: given n task with different execution time and m workers, assign the task
: to workers such that the task can be finished at the earliest time.
: Job shop scheduling
: http://en.wikipedia.org/wiki/Job_shop_scheduling

avatar
c*n
10
就是binpacking 啊。
这题的decision 形式就是
given bins of bucket size X , N integers . X < sum(N)
and given bucket count M, is it possible to pack all N integers into
buckets?
decision---optimization 转换是search X,
original bin packing 的转换是search M

【在 J*******i 的大作中提到】
: 有N个整数,M个bucket,每个bucket都可以装至少N个整数
: 一个bucket的value等于放入它的所有整数的和
: 现求解一种分配方法,使之 minimize(the max value of all buckets)
: 看起来像bin packing问题,但好像又不是~

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。