Initializes a new instance of the DistanceHandler class

Namespace: Lucene.Net.Spatial.Tier
Assembly: Lucene.Net.Contrib.Spatial (in Lucene.Net.Contrib.Spatial.dll) Version: 2.9.1.2 (2.9.1.002)

Syntax

C#
public DistanceHandler(
	Dictionary<int, double> distances,
	Dictionary<string, double> distanceLookupCache,
	Precision precision
)
Visual Basic
Public Sub New ( _
	distances As Dictionary(Of Integer, Double), _
	distanceLookupCache As Dictionary(Of String, Double), _
	precision As Precision _
)
Visual C++
public:
DistanceHandler(
	Dictionary<int, double>^ distances, 
	Dictionary<String^, double>^ distanceLookupCache, 
	Precision precision
)

Parameters

distances
Type: System.Collections.Generic..::..Dictionary<(Of <(<'Int32, Double>)>)>

[Missing <param name="distances"/> documentation for "M:Lucene.Net.Spatial.Tier.DistanceHandler.#ctor(System.Collections.Generic.Dictionary{System.Int32,System.Double},System.Collections.Generic.Dictionary{System.String,System.Double},Lucene.Net.Spatial.Tier.Precision)"]

distanceLookupCache
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Double>)>)>

[Missing <param name="distanceLookupCache"/> documentation for "M:Lucene.Net.Spatial.Tier.DistanceHandler.#ctor(System.Collections.Generic.Dictionary{System.Int32,System.Double},System.Collections.Generic.Dictionary{System.String,System.Double},Lucene.Net.Spatial.Tier.Precision)"]

precision
Type: Lucene.Net.Spatial.Tier..::..Precision

[Missing <param name="precision"/> documentation for "M:Lucene.Net.Spatial.Tier.DistanceHandler.#ctor(System.Collections.Generic.Dictionary{System.Int32,System.Double},System.Collections.Generic.Dictionary{System.String,System.Double},Lucene.Net.Spatial.Tier.Precision)"]

See Also