DoubleEqualityComparer
Namespace: QuickGraph
IEqualityComparer for floats with user-specified tolerance.
Constructors
Constructor | Description |
new()
Signature: unit -> unit
|
Constructs DoubleEqualityComparer with default tolerance. |
new(tolerance)
Signature: tolerance:float -> unit
|
Constructs DoubleEqualityComparer with user-given tolerance. |
Instance members
Instance member | Description |
Equals(x, y)
Signature: (x:float * y:float) -> bool
Modifiers: abstract |
Implements IEqualityComparer.Equals |
GetHashCode(x)
Signature: x:float -> int
Modifiers: abstract |
Implements IEqualityComparer.GetHashCode |
Tolerance()
Signature: unit -> unit
|
Tolerance used during equality comparison |
Static members
Static member | Description |
DefaultTolerance
Signature: float
|
Default tolerance |