Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define constraints on membership weights #463

Open
matejpavlovic opened this issue May 26, 2023 · 0 comments
Open

Define constraints on membership weights #463

matejpavlovic opened this issue May 26, 2023 · 0 comments
Labels

Comments

@matejpavlovic
Copy link
Contributor

I thought about that a bit, and realized that I don't see any fundamental reason to disallow any set of weights. The only exception is all weights in a membership being zero, which we probably do need to treat as a special case. I see 2 options here:

  1. Declare such a membership invalid and complain / ignore it / crash / ...
  2. Treat it as a special case and pretend that all weights are 1. I can imagine this being convenient for implementations that simply don't want to deal with any vote weights - it automatically falls back into counting nodes. However, it introduces additional complexity not just in code, but especially in the semantics.

Originally posted by @matejpavlovic in #459 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant