Research Article

Path-Wise Test Data Generation Based on Heuristic Look-Ahead Methods

Algorithm 7

Maintaining path consistency.
Input : the domain of all variables before checking path consistency
   Br( , ) ( ): branching conditions along the path
Output   : the reduced domain of all variables after a successful path consistency check
   ( , ): the conflicted branch spotted by path consistency check
Begin
(1) for :
(2)   calculate Br( , ) with ;
(3)   if (Br( ) = true)
(4)     ;
(5)   else return ( , );
(6) path consistenttrue;
(7) return   ;
End