Download lpdoc Reference Manual - pdf

Transcript
66
The lpdoc Documentation Generator
steps lb/2:
PROPERTY
steps_lb(X,Y)
The minimum computation time (in resolution steps) spent by any call of the form X is
given by the expression Y [DLGHL97,LGHD96]
Usage: steps_lb(X,Y)
− Description: Y is a lower bound on the cost of any call of the form X.
steps ub/2:
PROPERTY
steps_ub(X,Y)
The maximum computation time (in resolution steps) spent by any call of the form X is
given by the expression Y [DL93,LGHD96]
Usage: steps_ub(X,Y)
− Description: Y is a upper bound on the cost of any call of the form X.
sideff pure/1:
PROPERTY
Usage: sideff_pure(X)
− Description: X is pure, i.e., has no side-effects.
sideff soft/1:
PROPERTY
Usage: sideff_soft(X)
− Description: X has soft side-effects, i.e., those not affecting program execution (e.g.,
input/output).
sideff hard/1:
PROPERTY
Usage: sideff_hard(X)
− Description: X has hard side-effects, i.e., those that might affect program execution
(e.g., assert/retract).
indep/1:
PREDICATE
Usage: indep(X)
− Description: The variables in pairs in X are pairwise independent.
indep/2:
Usage: indep(X,Y)
− Description: X and Y do not have variables in common.
PROPERTY