You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
626 B
25 lines
626 B
extends Resource
|
|
class_name MajorityJudgmentAbstractTallier
|
|
|
|
|
|
"""
|
|
Interface pattern, kind of.
|
|
This will allow us to provide multiple tallying algorithms.
|
|
|
|
To make you own:
|
|
Extend this, override `tally()`, and register it. (undecided about how yet)
|
|
|
|
Expected algorithms:
|
|
- Easy (expensive but simple to understand)
|
|
- Fast (optimized for speed and scalability)
|
|
- Liquid (handles delegations without loops)
|
|
- Quantic (handles delegations with loops)
|
|
- Empathic (handles non-sentient)
|
|
- Holistic (handles everything) (trololol)
|
|
"""
|
|
|
|
|
|
func tally(poll) -> MajorityJudgmentPollTally:
|
|
assert(false, "Override me")
|
|
return null
|