The electionOptions are options inside the election such as socialChoiceMethod. There are two sub categories:

ElectionOptions

electionOptions structure

ElectionOptionsMan

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

ElectionOptions 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: