OptionsBag

optionsBag structure

ElectionOptionsMan

ElectionOptionsMan manages optionsBag and is a mutable class that is useful when making other classes.

optionsBag is immutable and persistent. It’s also a simple data structure rather than a class instance. It’s useful when calling functions. It’s simpler, so it’s preferable.

The same pattern applies to CastOptionsMan and SocialChoiceOptionsMan.

The parts of ElectionOptionsMan are: