Class DepthLimitedTraversal
Inheritance
System.Object
DepthLimitedTraversal
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: Mars.Common.Collections.Graph.Algorithms
Assembly: Mars.Common.dll
Syntax
public static class DepthLimitedTraversal
Methods
| Improve this Doc View SourceTraverse(SpatialGraph, Int32, Action<NodeData>, Int32)
Declaration
public static void Traverse(this SpatialGraph graph, int start, Action<NodeData> callback = null, int hops = -1)
Parameters
Type | Name | Description |
---|---|---|
SpatialGraph | graph | |
System.Int32 | start | |
System.Action<NodeData> | callback | |
System.Int32 | hops |