Did you know ... | Search Documentation: |
![]() | Pack rtp_qsndqs -- prolog/rtp_dqs.pl |
Offers a Prolog implementation of double-ended queues (deques) with constant time basic operations and full version reusability. The implementation is based on Bouma (2012), referenced below. Time guarantees and determinism indications apply to the cases in which the predicate signature is respected.
In the signatures, +DQ:deque means that DQ is an input argument and must be sufficiently instantiated, that is, it is a valid deque representing term as produced by a deque outputting predicate. Due to the design of the datastructure, these need not be ground.
The following predicates are exported, but not or incorrectly documented.