% This LaTeX document was generated using the LaTeX backend of PlDoc, % The SWI-Prolog documentation system \begin{summarylist}{ll} \predicatesummary{getrand}{1}{Query/set the state of the random generator.} \predicatesummary{maybe}{0}{Succeed/fail with equal probability (variant of maybe/1).} \predicatesummary{maybe}{1}{Succeed with probability P, fail with probability 1-P.} \predicatesummary{maybe}{2}{Succeed with probability K/N (variant of maybe/1).} \predicatesummary{random}{1}{Binds R to a new random float in the _open_ interval (0.0,1.0).} \predicatesummary{random}{3}{Generate a random integer or float in a range.} \predicatesummary{random_between}{3}{Binds R to a random integer in [L,U] (i.e., including both L and U).} \predicatesummary{random_member}{2}{X is a random member of List.} \predicatesummary{random_numlist}{4}{Unify List with an ascending list of integers between L and U (inclusive).} \predicatesummary{random_perm2}{4}{Does X=A,Y=B or X=B,Y=A with equal probability.} \predicatesummary{random_permutation}{2}{Permutation is a random permutation of List.} \predicatesummary{random_select}{3}{Randomly select or insert an element.} \predicatesummary{random_subseq}{3}{Selects a random subsequence Subseq of List, with Complement containing all elements of List that were not selected.} \predicatesummary{randseq}{3}{S is a list of K unique random integers in the range 1..N.} \predicatesummary{randset}{3}{S is a sorted list of K unique random integers in the range 1..N.} \predicatesummary{setrand}{1}{Query/set the state of the random generator.} \end{summarylist}