Class Path
Represents a walk through a graph as defined by a traversal.
Inheritance
System.Object
Path
Implements
Inherited Members
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)
System.Object.ToString()
Namespace: Dse.Graph
Assembly: Dse.dll
Syntax
public class Path : IPath
Constructors
Path(ICollection<ICollection<String>>, ICollection<GraphNode>)
Creates a new instance of Path.
Declaration
public Path(ICollection<ICollection<string>> labels, ICollection<GraphNode> objects)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<System.String>> | labels | The sets of labels of the steps traversed by this path. |
System.Collections.Generic.ICollection<GraphNode> | objects | The objects traversed by this path |
Properties
Labels
Returns the sets of labels of the steps traversed by this path, or an empty list, if this path is empty.
Declaration
public ICollection<ICollection<string>> Labels { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<System.String>> |
Objects
Returns the objects traversed by this path, or an empty list, if this path is empty.
Declaration
public ICollection<GraphNode> Objects { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<GraphNode> |
Explicit Interface Implementations
IPath.Objects
Declaration
ICollection<IGraphNode> IPath.Objects { get; }
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<IGraphNode> |