Interface IDistanceRelaxer
Represents a distance relaxer.
Inherited Members
System.Collections.Generic.IComparer<System.Double>.Compare(System.Double, System.Double)
Namespace: QuikGraph.Algorithms
Assembly: QuikGraph.dll
Syntax
public interface IDistanceRelaxer : IComparer<double>
Properties
| Improve this Doc View SourceInitialDistance
Initial distance.
Declaration
double InitialDistance { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceCombine(Double, Double)
Combines the distance and the weight in a single value.
Declaration
double Combine(double distance, double weight)
Parameters
Type | Name | Description |
---|---|---|
System.Double | distance | Distance value. |
System.Double | weight | Weight value. |
Returns
Type | Description |
---|---|
System.Double | The combined value. |