more exo fixes.

This commit is contained in:
Vitor Santos Costa
2013-04-29 16:19:43 -05:00
parent 72cc5bc317
commit c04f04d078
5 changed files with 21 additions and 5 deletions

View File

@@ -9095,11 +9095,11 @@ This package assumes you use UDI exo-indexing, that is:
@end example
It is designed to optimise the following type of queries:
@example
?- max(X, diagnoses(X, 9, Y)).
?- max(X, diagnoses(X, 9, Y), X).
?- min(X, diagnoses(X, 9, 36211117)).
?- min(X, diagnoses(X, 9, 36211117), X).
?- X #< Y, min(X, diagnoses(9, X, 36211117)), diagnoses(Y, 9, _).
?- X #< Y, min(X, diagnoses(X, 9, 36211117), X ), diagnoses(Y, 9, _).
@end example
The first argument gives the time, the second the patient, and the
third the condition code. The first query should find the last time