Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能向我解释一下,如果我们在计算 b 时排除叶节点,平均分支因子的值是多少?
例子:
我不知道如何以正确的方式计算:/
非常感谢
遍历每个非终端节点并平均它具有的分支数。在您的示例中,平均值应在 1 到 2 之间。
相关: 如何找到树的分支因子