Ideal amount of segments
Hi, how much segmentation can you add to a gun before the benefit of the segmentation is lost due to the added noise created by the segment? I noticed many MiniBots only have 5-6 different segments in their guns. I don't know if this is because of the codesize requirements or because too many segments create too much noise in the enemy's movement profile. Thanks!
You can use as much segments as possible, as long as you keep enough data points within given segment.
Experience is that those bots aren’t using 5-6 segments because of code size, but increasing dimensions further decreases data points greatly. To solve this, advanced bots use many buffers.
Also, not all segments are useful. If your bot keeps its preferred distance quite aggressively, a distance segment is not very useful against the majority of opponents. So therefor multiple buffers with different weighting of the segments can be more beneficial. Or only going further down the segmentation tree if enough datapoints are available there. Some bots only use two segments early in the game and increase it later on.