Casper Class Library

GeneralizedLookahead.ForwardCheck Method 

Loops through future variables with respect to the current variable. This method checks if one of the future variables' domains is empty with the current assignment.

public bool ForwardCheck(
   LookAheadVarDom currentVar,
   Int32 i
);

Parameters

LookAheadVarDom
The variable we are currently investigating.
Int32
The index "currentVar" has in the variable list

Return Value

true if a following domain becomes empty; otherwise false.

Exceptions

Exception Type Condition
CasperException

See Also

GeneralizedLookahead Class | Casper.Algorithm Namespace