Show
Ignore:
Timestamp:
06/14/08 16:53:52 (6 months ago)
Author:
pmoura
Message:

Updated the "search" multi-threading benchmark test (in the "mtbatch" example) to convert an error in an individual search method into a failure.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/threads/mtbatch/mtbatch.lgt

    r4311 r4313  
    378378        repeat(N), 
    379379            threaded(( 
    380                     depth_first(MaxDepth)::solve(Obj, Initial, _) 
    381                 ;   hill_climbing(MaxDepth)::solve(Obj, Initial, _, _) 
    382                 ;   breadth_first(MaxDepth)::solve(Obj, Initial, _) 
     380                    catch(depth_first(MaxDepth)::solve(Obj, Initial, _), _, fail) 
     381                ;   catch(hill_climbing(MaxDepth)::solve(Obj, Initial, _, _), _, fail) 
     382                ;   catch(breadth_first(MaxDepth)::solve(Obj, Initial, _), _, fail) 
    383383            )), 
    384384        fail.