TrustGraph Zome creates rollup of Trust Atoms 2 levels deep (self + other agents whom you placed TA)
first builds agent list by identifying which targets have done a rollup (indicating they are an agent)
then rollup_silver returns BTreemap structure... Key: Target (AnyLinkableHash) V: BTreeMap<Agent, RollupData>
where RollupData contains content value and agent's rating
then rollup_gold calculates an amalgamation of the targets those agents have rated (latest ie most recent update) thus "rolling up" a net value per each, returning a Vec
algorithm is now slightly weighted higher by the curve x^phi
fixes #25 and #28
TrustGraph Zome creates rollup of Trust Atoms 2 levels deep (self + other agents whom you placed TA)
first builds agent list by identifying which targets have done a rollup (indicating they are an agent) then rollup_silver returns BTreemap structure... Key: Target (AnyLinkableHash) V: BTreeMap<Agent, RollupData> where RollupData contains content value and agent's rating then rollup_gold calculates an amalgamation of the targets those agents have rated (latest ie most recent update) thus "rolling up" a net value per each, returning a Vec
algorithm is now slightly weighted higher by the curve x^phi