Changeset 4313 for trunk

Show
Ignore:
Timestamp:
06/14/08 16:53:52 (3 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.

Location:
trunk/examples/threads/mtbatch
Files:
2 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. 
  • trunk/examples/threads/mtbatch/NOTES.txt

    r4311 r4313  
    3232The following tests are available: 
    3333 
    34     primes 
    35     msort 
    36     qsort 
    37     fib 
    38     hanoi 
    39     tak 
    40     fft 
    41     integration 
    42     search 
     34    primes          (independent and-parallelism) 
     35    msort           (independent and-parallelism) 
     36    qsort           (independent and-parallelism) 
     37    fib             (independent and-parallelism) 
     38    hanoi           (independent and-parallelism) 
     39    tak             (independent and-parallelism) 
     40    fft             (independent and-parallelism) 
     41    integration     (independent and-parallelism) 
     42    search          (competitive or-parallelism)