Type Definition sp_npos_elections::Supports
source · Expand description
A target-major representation of the the election outcome.
Essentially a flat variant of SupportMap
.
The main advantage of this is that it is encodable.
Trait Implementations§
source§impl<AccountId: IdentifierT> EvaluateSupport for Supports<AccountId>
impl<AccountId: IdentifierT> EvaluateSupport for Supports<AccountId>
source§fn evaluate(&self) -> ElectionScore
fn evaluate(&self) -> ElectionScore
Evaluate a support map. The returned tuple contains: Read more