Research Article

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

Algorithm 5

Initial domain calculation.
Input = [min, max]: the domain of
    Path-Tendency : a map used to store the path tendency of each variable in
Output   : the domain of in which its initial value is selected
Begin
(1) PathTendency( )   retrieval of Path-Tendency;
(2) if (PathTendency( ) = positive)
(3)    ;
(4) else if (PathTendency( ) = negative)
(5)     ;
(6) return   ;
End