Module sp_npos_elections::pjr
source · Expand description
Implements functions and interfaces to check solutions for being t-PJR.
PJR stands for proportional justified representation. PJR is an absolute measure to make sure an NPoS solution adheres to a minimum standard.
See pjr_check
which is the main entry point of the module.
Functions
- Check a solution to be PJR.
- The internal implementation of the PJR check after having the data converted.
- Compute the threshold corresponding to the standard PJR property
- Check a solution to be t-PJR.
- Validate a challenge to an election result.
- Validate a challenge to an election result.