[][src]Constant broccoli::analyze::DEFAULT_NUMBER_ELEM_PER_NODE

pub const DEFAULT_NUMBER_ELEM_PER_NODE: usize = 128;

Returns the height of a dyn tree for a given number of bots. The height is chosen such that the nodes will each have a small amount of bots. If we had a node per bot, the tree would have too many levels. Too much time would be spent recursing. If we had too many bots per node, you would lose the properties of a tree, and end up with plain sweep and prune. Theory would tell you to just make a node per bot, but there is a sweet spot inbetween determined by the real-word properties of your computer.