protocol
transaction_dataset_protocol
Protocol for transaction datasets used with frequent itemset mining algorithms. Transaction identifiers are expected to be unique within a dataset.
Availability:
logtalk_load(frequent_pattern_mining_protocols(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-29
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
items/1
Returns the declared transaction item domain as a canonical sorted list of unique items.
Compilation flags:
staticTemplate:
items(Items)Mode and number of proofs:
items(-list(atom)) - onetransaction/2
Enumerates by backtracking the transactions in the dataset. The transaction identifier is expected to be unique within the dataset. Each transaction is represented as a canonical sorted list of unique declared items.
Compilation flags:
staticTemplate:
transaction(Id,Transaction)Mode and number of proofs:
transaction(-integer,-list(atom)) - zero_or_moreProtected predicates
(none)
Private predicates
(none)
Operators
(none)