Interface IGraphDistances
Represents a mapping between edges of a IGraph and distances, in a spatial context, or weights, in a more general setting.
Namespace: MoreStructures.Graphs
Assembly: MoreStructures.dll
Syntax
public interface IGraphDistances
Properties
| Improve this Doc View SourceItem[(Int32 edgeStart, Int32 edgeEnd)]
Returns the distance, or weight, of the provided edge
.
Declaration
int this[(int edgeStart, int edgeEnd) edge] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.Int32, System.Int32> | edge | The edge, to provide the distance of. |
Property Value
Type | Description |
---|---|
System.Int32 | Any positive or negative number. |