multisets — Logtalk 3.100.1

object

# `multisets`

Implementation of multiset operations with repetition over lists.

Availability:
`logtalk_load(multisets(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-12
Compilation flags:
`static, context_switching_calls`
Implements:
`public` multisets_protocol
Uses:
fast_random(Algorithm)
list
natural
Remarks:
(none)
Inherited public predicates:
count_distinct_multisets/3 count_multisets/3 distinct_multiset/3 distinct_multiset/4 distinct_multiset_index/4 distinct_multisets/3 distinct_multisets/4 multiset/3 multiset/4 multiset_index/4 multiset_index/5 multisets/3 multisets/4 next_multiset/3 nth_distinct_multiset/4 nth_multiset/4 nth_multiset/5 previous_multiset/3 random_distinct_multiset/3 random_multiset/3 sample_distinct_multisets/4 sample_multisets/4

## 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)