Analysis of how weighted voting relates to selectorate theory