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.1
Syntax
C#
public static bool Validate(
	IGraph graph,
	ValidationMode mode,
	out List<ConnectionAssertionError> errors
)

Parameters

graph  IGraph
The graph to validate.
mode  ValidationMode
The validation mode to apply.
errors  ListConnectionAssertionError
If the graph is not valid, this refers to a List of ConnectionAssertionError objects, otherwise it is null.

Return Value

Boolean
True, if the graph is valid.
See Also