Skip to main content

RankEdgeProvider

Type Alias RankEdgeProvider 

Source
pub type RankEdgeProvider = Box<dyn Fn(&str) -> Vec<(String, String, String, f64)> + Send + Sync>;
Expand description

Rank-time edge contributor (§48): (subject, predicate, object, weight) triples that enter diffusion without becoming canonical architecture facts. Every edge records its source (see the rank-edges(N) reason); endpoint ids outside the rank universe and non-positive/non-finite weights are skipped by the ranker.

Aliased Type§

pub struct RankEdgeProvider(/* private fields */);