发帖
 找回密码
 立即注册
搜索
1 0 0

离散的经验分布dempirical的模型

技术交流2 1 1 2015-8-29 17:52:09
求离散的经验分布dempirical的模型
──── 0人觉得很赞 ────
2015-8-29 20:15:15
Returns a random sample from a discrete empirical distribution

Parameters
(str/node/num table[, num stream])

Description
A discrete empirical distribution.

The table referenced must contain a list of values and probability percentages associated with each of the values. Probability percentages must be entered in column 1 starting with row 1 of the table, and their associated values are entered in column 2. The table may have as many rows as needed to define as many values as desired. The percents are entered as numbers between 0 and 100, and should add up to a total of 100 percent; otherwise any values defined after a cumulative percentage of 100 is reached will never be returned.

A detailed description of the three empirical distributions used in FlexSim and their differences is included with the cempirical() command.
Example
int ptype = dempirical("prodtypes", 5);

Assigns a value to the ptype variable using a discrete empirical distribution defined in a global table named "prodtypes" using random number stream 5.

dempirical(label(current, "route"), 5);

Returns a random variate from a discrete empirical distribution defined in a node table defined on the label named "route" of the current object, and using random number stream 5.

谷歌翻译地址:[url]http://translate.google.cn/[/url]
您需要登录后才可以回帖 立即登录
高级模式
返回
技术交流2
热门问答
查看更多
1
Flexsim初级建模工程师水平标准
Flexsim初级建模工程师水平标准
62
234
2
厂区生产线布局优化案例!新做的!
厂区生产线布局优化案例!新做的!
42
224
3
无意中找到的资料,非常适合于初学者
无意中找到的资料,非常适合于初学者
39
229
4
流水作业线的仿真
流水作业线的仿真
36
83
5
flexsim中文教程,pdf文档已整理-重新整理
flexsim中文教程,pdf文档已整理-重新整理
31
114
博主榜
+ 5