Interface IEdge<TEdge, TNode>
The contract for on edge of the network
with references to their weighs and attributes.
Inherited Members
System.Collections.Generic.IEqualityComparer<Mars.Interfaces.Environments.IGraphEntity>.Equals(Mars.Interfaces.Environments.IGraphEntity, Mars.Interfaces.Environments.IGraphEntity)
System.Collections.Generic.IEqualityComparer<Mars.Interfaces.Environments.IGraphEntity>.GetHashCode(Mars.Interfaces.Environments.IGraphEntity)
Namespace: Mars.Interfaces.Environments
Assembly: Mars.Interfaces.dll
Syntax
public interface IEdge<TEdge, out TNode> : IGraphEntity, IEqualityComparer<IGraphEntity> where TEdge : IEdge<TEdge, TNode> where TNode : INode<TEdge, TNode>
Type Parameters
Name | Description |
---|---|
TEdge | The concrete edge type which implements this interface. |
TNode | The concrete node type which implements this interface. |
Properties
| Improve this Doc View SourceFrom
The starting point (node) of the edge
Declaration
TNode From { get; }
Property Value
Type | Description |
---|---|
TNode |
To
The end point (node) of the edge
Declaration
TNode To { get; }
Property Value
Type | Description |
---|---|
TNode |