Class GraphValidator
- Namespace
- AlgorithmsSW.Graph
- Assembly
- AlgorithmsSW.dll
public static class GraphValidator
- Inheritance
-
GraphValidator
- Inherited Members
-
Methods
ValidateContainsEdge(IGraph, int, int, string?, string?)
public static void ValidateContainsEdge(this IGraph graph, int vertex0, int vertex1, string? vertex0ArgName = null, string? vertex1ArgName = null)
Parameters
graph
IGraph
vertex0
int
vertex1
int
vertex0ArgName
string
vertex1ArgName
string
ValidateInRange(IGraph, int, int, string?, string?)
public static void ValidateInRange(this IGraph graph, int vertex0, int vertex1, string? vertex0ArgName = null, string? vertex1ArgName = null)
Parameters
graph
IGraph
vertex0
int
vertex1
int
vertex0ArgName
string
vertex1ArgName
string
ValidateInRange(IGraph, int, string?)
public static void ValidateInRange(this IGraph graph, int vertex, string? vertexArgName = null)
Parameters
graph
IGraph
vertex
int
vertexArgName
string
ValidateNotParallelEdge(IGraph, int, int, string?, string?)
public static void ValidateNotParallelEdge(this IGraph graph, int vertex0, int vertex1, string? vertex0ArgName = null, string? vertex1ArgName = null)
Parameters
graph
IGraph
vertex0
int
vertex1
int
vertex0ArgName
string
vertex1ArgName
string
ValidateNotSelfLoop(IGraph, int, int, string?, string?)
public static void ValidateNotSelfLoop(this IGraph graph, int vertex0, int vertex1, string? vertex0ArgName = null, string? vertex1ArgName = null)
Parameters
graph
IGraph
vertex0
int
vertex1
int
vertex0ArgName
string
vertex1ArgName
string