Sage Modeling and Simulation Library

DAGCycleChecker..::..Check Method (Boolean, Object)

Forces this DAGCycleChecker to validate the entire DAG by checking for cycles.

Namespace:  Highpoint.Sage.Graphs
Assembly:  Sage4 (in Sage4.dll)

Syntax


public virtual bool Check(
	bool haltOnError,
	Object startElement
)

Parameters

haltOnError
Type: Boolean
If true, the checker will stop as soon as it finds the first error.
startElement
Type: Object
The vertex at which the Cycle Checker begins its search.

Return Value

True if the DAGCycleChecker found no errors.