protocol
multiplayer_ranking_dataset_protocol
Protocol for ordered multiplayer ranking datasets with ranked teams and weighted player participation.
Availability:
logtalk_load(ranking_protocols(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-08-02
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
item/1
Enumerates by backtracking the items that can be ranked.
Compilation flags:
staticTemplate:
item(Item)Mode and number of proofs:
item(-atom) - zero_or_morematch/1
Enumerates by backtracking the matches in chronological processing order.
Compilation flags:
staticTemplate:
match(Match)Mode and number of proofs:
match(-atom) - zero_or_moreteam/3
Enumerates by backtracking the teams in a match and their non-negative ranks. Lower ranks are better and equal ranks denote a draw.
Compilation flags:
staticTemplate:
team(Match,Team,Rank)Mode and number of proofs:
team(-atom,-atom,-integer) - zero_or_moreteam_member/4
Enumerates by backtracking team members and their participation weights, which must be greater than zero and no greater than one.
Compilation flags:
staticTemplate:
team_member(Match,Team,Item,Weight)Mode and number of proofs:
team_member(-atom,-atom,-atom,-number) - zero_or_moreProtected predicates
(none)
Private predicates
(none)
Operators
(none)