protocol

pairwise_measurement_dataset_protocol

Protocol for pairwise measurement datasets.

Availability:
logtalk_load(ranking_protocols(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-05
Compilation flags:
static
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

Public predicates

item/1

Enumerates by backtracking the items that can be ranked.

Compilation flags:
static
Template:
item(Item)
Mode and number of proofs:
item(-atom) - zero_or_more

measurement/4

Enumerates by backtracking weighted pairwise signed measurements where Value is the observed scalar measurement for the oriented edge Item1 -> Item2 and Weight is its positive confidence or repetition weight.

Compilation flags:
static
Template:
measurement(Item1,Item2,Value,Weight)
Mode and number of proofs:
measurement(-atom,-atom,-number,-number) - zero_or_more

Protected predicates

(none)

Private predicates

(none)

Operators

(none)