Click or drag to resize

GraphValidatorValidate Method

Checks whether a graph meets its connection assertions.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static bool Validate(
	IGraph graph,
	ValidationMode mode,
	out List<ConnectionAssertionError> errors
)

Parameters

graph
Type: de.unika.ipd.grGen.libGrIGraph
The graph to validate.
mode
Type: de.unika.ipd.grGen.libGrValidationMode
The validation mode to apply.
errors
Type: System.Collections.GenericListConnectionAssertionError
If the graph is not valid, this refers to a List of ConnectionAssertionError objects, otherwise it is null.

Return Value

Type: Boolean
True, if the graph is valid.
See Also