Table of Contents

Class GraphPath<T>

Namespace
AiDotNet.RetrievalAugmentedGeneration.Graph
Assembly
AiDotNet.dll

Represents a path in the graph: source node -> edge -> target node.

public class GraphPath<T>

Type Parameters

T

The numeric type.

Inheritance
GraphPath<T>
Inherited Members

Properties

Edge

Gets or sets the edge connecting source to target.

public GraphEdge<T> Edge { get; set; }

Property Value

GraphEdge<T>

SourceNode

Gets or sets the source node.

public GraphNode<T> SourceNode { get; set; }

Property Value

GraphNode<T>

TargetNode

Gets or sets the target node.

public GraphNode<T> TargetNode { get; set; }

Property Value

GraphNode<T>

Methods

ToString()

Returns a string representation of the path.

public override string ToString()

Returns

string