score

open override fun score(proposition: Proposition, authorityTier: AuthorityTier?, conflictType: ConflictType?): Double

Score the trustworthiness of a proposition.

This is the single abstract method of the SAM interface and so takes all arguments explicitly; the score extension overloads supply null defaults for the optional authorityTier and conflictType at call sites.

Return

a trust score in [0.0, 1.0] (1.0 == fully trusted)

Parameters

proposition

The proposition to score

authorityTier

Source-authority tier for the proposition, or null if authority is not being considered

conflictType

Classification of any conflict this proposition was involved in, or null if it was not in conflict