Class GraphEdge<TNodeValue>
Defines a graph edge connecting nodes holding values.
Inheritance
System.Object
System.Dynamic.DynamicObject
GraphEdge<TNodeValue>
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Graphs
Assembly: Kephas.Core.dll
Syntax
public class GraphEdge<TNodeValue> : GraphEdge, IGraphEdge<TNodeValue>, IGraphEdge, IExpando, IDynamicMetaObjectProvider, IIndexable
Type Parameters
Name | Description |
---|---|
TNodeValue | Type of the node value. |
Constructors
| Improve this Doc View SourceGraphEdge(GraphNode<TNodeValue>, GraphNode<TNodeValue>)
Initializes a new instance of the GraphEdge<TNodeValue> class.
Declaration
public GraphEdge(GraphNode<TNodeValue> from, GraphNode<TNodeValue> to)
Parameters
Type | Name | Description |
---|---|---|
GraphNode<TNodeValue> | from | The node from which the edge starts. |
GraphNode<TNodeValue> | to | The node where the edge ends. |
Properties
| Improve this Doc View SourceFrom
Gets the node from which the edge starts.
Declaration
public IGraphNode<TNodeValue> From { get; }
Property Value
Type | Description |
---|---|
IGraphNode<TNodeValue> | The node from which the edge starts. |
To
Gets the node where the edge ends.
Declaration
public IGraphNode<TNodeValue> To { get; }
Property Value
Type | Description |
---|---|
IGraphNode<TNodeValue> | The node where the edge ends. |
Implements
System.Dynamic.IDynamicMetaObjectProvider