Class CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge>.DefaultFinishedPredicate
Default implementation of the finished predicate.
Inheritance
System.Object
CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge>.DefaultFinishedPredicate
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: QuikGraph.Algorithms.Exploration
Assembly: QuikGraph.dll
Syntax
public sealed class DefaultFinishedPredicate
Constructors
| Improve this Doc View SourceDefaultFinishedPredicate()
Initializes a new instance of the CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge>.DefaultFinishedPredicate class.
Declaration
public DefaultFinishedPredicate()
DefaultFinishedPredicate(Int32, Int32)
Initializes a new instance of the CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge>.DefaultFinishedPredicate class.
Declaration
public DefaultFinishedPredicate(int maxVertexCount, int maxEdgeCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxVertexCount | Maximum number of vertices. |
System.Int32 | maxEdgeCount | Maximum number of edges. |
Properties
| Improve this Doc View SourceMaxEdgeCount
Maximum number of edges (for exploration).
Declaration
public int MaxEdgeCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxVertexCount
Maximum number of vertices (for exploration).
Declaration
public int MaxVertexCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceTest(CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge>)
Checks if the given algorithm
explorer has finished or not.
Declaration
public bool Test(CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge> algorithm)
Parameters
Type | Name | Description |
---|---|---|
CloneableVertexGraphExplorerAlgorithm<TVertex, TEdge> | algorithm | Algorithm explorer to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if the explorer can continue to explore, false otherwise. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|