RangeSearch Class

Class with static members to work with various range searchers.

Methods

Name Description
create2dSearcherForRangeLengthData<T>(rangeLengthData: RangeLengthData, rangesPerBlockEdge: number = RangeSearch.defaultRangesPerBlockEdge, standardDeviationAdjustment: number = RangeSearch.defaultStandardDeviationAdjustment): Range2dSearchInterface<T> | undefined Static Based on range count and distribution, return an object which can answer 2d range queries  
estimateGridBlockCount(totalLength: number, sums: UsageSums, rangesPerBlockEdge: number = RangeSearch.defaultRangesPerBlockEdge, standardDeviationAdjustment: number = RangeSearch.defaultStandardDeviationAdjustment): number Static 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.
 

Properties

Name Type Description
defaultRangesPerBlockEdge Static 4 Target size for grid block size divided by representative per-entry range size.  
defaultStandardDeviationAdjustment Static 1 the "representative range size"is the mean range size plus this number of standard deviations  
smallCountLimit Static 40    

Defined in

Last Updated: 08 January, 2020