RangeSearch Class

Class with static members to work with various range searchers.

Methods

Name Description
constructor(): RangeSearch    
create2dSearcherForRangeLengthData<T>(rangeLengthData: RangeLengthData, rangesPerBlockEdge: number = RangeSearch.defaultRangesPerBlockEdge, standardDeviationAdjustment: number = RangeSearch.defaultStandardDeviationAdjustment): undefined | Range2dSearchInterface<T> Static Based on range count and distribution, return an object which can answer 2d range queries  
estimateGridBlockCount(totalLength: number, sums: , rangesPerBlockEdge: number = RangeSearch.defaultRangesPerBlockEdge, standardDeviationAdjustment: number = RangeSearch.defaultStandardDeviationAdjustment): number Static Return the number of grid bocks (in one direction) for  

Properties

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

Defined in

Last Updated: 20 June, 2023