protocol

# `temporal_pairwise_ranking_dataset_protocol`

Protocol for temporal pairwise ranking datasets with explicit rating periods and per-game outcomes.

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`

### `period/1`

Enumerates by backtracking the rating periods in declaration order.

Compilation flags:
`static`
Template:
`period(Period)`
Mode and number of proofs:
`period(-atom)` - `zero_or_more`

### `game/4`

Enumerates by backtracking observed games where `Score` is the result for `Item1` against `Item2` in the given `Period`.

Compilation flags:
`static`
Template:
`game(Period,Item1,Item2,Score)`
Mode and number of proofs:
`game(-atom,-atom,-atom,-number)` - `zero_or_more`

## Protected predicates

(none)

## Private predicates

(none)

## Operators

(none)