estimateGridBlockCount MethodStatic

Return the number of grid bocks (in one direction) for

  • The total range length in this direction
  • individual ranges whose count, mean and standard deviation are available in the sums.

estimateGridBlockCount(totalLength: number, sums: UsageSums, rangesPerBlockEdge: number = RangeSearch.defaultRangesPerBlockEdge, standardDeviationAdjustment: number = RangeSearch.defaultStandardDeviationAdjustment): number

Parameter Type Description
totalLength number  
sums UsageSums source for mean, count, and standard deviation of individual ranges
rangesPerBlockEdge number target ratio of edge length in search blocks divided by representative length of individual range edges
standardDeviationAdjustment number the number of standard deviations above the mean to be applied to convert mean to representative length. Typically 0 to 1.

Returns - number of blocks in grid.

Defined in

Last Updated: 08 January, 2020