backend_random — Logtalk APIs v3.47.0 documentation

object

# `backend_random`

Random number generator predicates using the backend Prolog compiler built-in random generator.

Author: Paulo Moura
Version: 1:15:0
Date: 2021-05-04
Compilation flags:
`static, context_switching_calls`
Implements:
`public` pseudo_random_protocol
Uses:
list
Remarks:

> - Implementation: The backend Prolog compiler built-in random generator is only used for the basic `random/1`, `get_seed/1`, and `set_seed/1` predicates.

> - Portability: B-Prolog, CxProlog, ECLiPSe, JIProlog, Qu-Prolog, Quintus Prolog, and Scryer Prolog do not provide implementations for the `get_seed/1` and `set_seed/1` predicates and calling these predicates simply succeed without performing any action.

Inherited public predicates:
between/3 enumerate/2 get_seed/1 maybe/0 maybe/1 maybe/2 maybe_call/1 maybe_call/2 member/2 permutation/2 random/1 random/3 randseq/4 randset/4 select/3 sequence/4 set/4 set_seed/1

- Public predicates

- Protected predicates

- Private predicates

- Operators

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

random, fast_random