category

score_ranker_common

Shared predicates for score-based rankers that order candidates using precomputed item scores.

Availability:
logtalk_load(ranking_protocols(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-04-25
Compilation flags:
static
Extends:
Uses:
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

rank_by_scores/3

Ranks candidates using precomputed Item-Score pairs while validating item existence and duplicate candidates.

Compilation flags:
static
Template:
rank_by_scores(Scores,Candidates,Ranking)
Mode and number of proofs:
rank_by_scores(+list(pair),+list,-list) - one

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)