当机器具有成功率(例如每次合成有 80% 的概率产出目标物品)时,普通样板无法处理这种不确定性。本模组利用统计学中的二项分布,计算需要多少次尝试才能以足够的置信度达到目标产出量。
核心原理 概率样板将机器的随机产出建模为二项过程:
参数 含义 默认值 目标数量 (N) 期望的最终产出数量 — 单次成功概率 (p) 每次尝试成功的概率 80% 显著性水平 (α) 允许的产量不足风险 5% 系统自动计算所需的尝试次数,使得实际产出低于目标数量的概率不超过 α。
计算方法 小目标(N ≤ 30):使用精确的二项分布左尾概率 大目标(N > 30):使用正态近似法,在保持足够精度的同时提高速度
示例 目标:1000 个产物,单次成功概率 80%,α = 0.05
正态近似法计算出需要 1286 次尝试。此时,产出少于 1000 个物品的概率 ≤ 5%。
When a machine has a success rate (e.g., an 80% chance of producing the target item per craft), ordinary patterns cannot handle the uncertainty. This mod uses binomial distribution from statistics to calculate how many attempts are needed to reach the target output with sufficient confidence.
Core Principle The probability pattern models a machine''s probabilistic output as a binomial process:
Parameter Meaning Default Target amount (N) Desired final output quantity — Single-attempt success probability (p) Probability of success per attempt 80% Significance level (α) Allowed risk of underproduction 5% The system automatically computes the required number of attempts such that the probability of producing fewer than the target amount does not exceed α.
Computation Method Small targets (N ≤ 30): Uses the exact binomial lower-tail probability Large targets (N > 30): Uses a normal approximation for speed with sufficient accuracy Example Target: 1000 outputs, single-attempt success probability 80%, α = 0.05
The normal approximation calculates that 1286 attempts are needed. At this point, the probability of producing fewer than 1000 items is ≤ 5%.
当机器有成功率的概念(例如每次合成有 80% 概率产出目标物品)时,普通样板无法处理这种不确定性。这个 Mod 使用统计学中的二项分布来计算需要多少次尝试才能以足够高的置信度达到目标产出量。
核心原理 概率样板将机器的随机产出建模为二项过程:
参数 含义 默认值 目标数量 (N) 你想要获得的最终产出数 — 单次成功率 (p) 每次尝试产出成功的概率 80% 显著性水平 (α) 允许的产出不足风险 5% 系统自动计算所需尝试次数,使得产出低于目标数量的概率不超过 α。
计算方式 小目标(N ≤ 30):使用精确的二项分布左尾概率计算 大目标(N > 30):使用正态近似,计算速度快且精度足够 示例 目标:1000 个产物,单次成功率 80%,α = 0.05
正态近似计算出需要 1286 次尝试,此时产出不足 1000 个的概率 ≤ 5%。
下载 Probability Pattern
下载 Probability Pattern
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Probability Pattern
下载 Probability Pattern
下载 Probability Pattern
下载 Probability Pattern
下载 Probability Pattern
下载 Probability Pattern
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
模组
AE2:一款流行的自动化与存储模组
模组
自动附魔,搭配 Create
模组
基于 GTCEu 1.12.2 的现代 GregTech
评论 0
登录后参与评分
还没有评论,来抢沙发吧