.. index:: single: pairwise_measurement_dataset_protocol
.. _pairwise_measurement_dataset_protocol/0:

.. rst-class:: right

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

.. contents::
   :local:
   :backlinks: top

Public predicates
-----------------

.. index:: item/1
.. _pairwise_measurement_dataset_protocol/0::item/1:

``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``


------------

.. index:: measurement/4
.. _pairwise_measurement_dataset_protocol/0::measurement/4:

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

