Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.41 KB | None | 0 0
  1. isBest(L, BestTest) :-
  2.         probPosDiseasePosTest1(L, P1Result),
  3.         probPosDiseasePosTest2(L, P2Result),
  4.         probNegDiseaseNegTest1(L, P3Result),
  5.         probNegDiseaseNegTest2(L, P4Result),
  6.         ( P1Result > P2Result , P3Result > P4Result -> BestTest = test1 ; P2Result > P1Result, P4Result > P3Result -> BestTest = test2),
  7.         %( BestTest != 'test1', BestTest != 'test2' -> BestTest is 'neither').
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement