algorithm_choice¶
wield.control.utilities.algorithm_choice
This module includes the set of helper functions to maintain the algorithm ranking lists for controls classes.
Even though there is typically a preferred algorithm for many actions, the helper list is useful for comparing between the performance of different algorithms and implementations.
Module Attributes
|
This is a mapping of text names to algorithm functions |
|
This is a mapping of algorithm functions to text names |
|
This is a mapping of algorithm functions to default rankings |
Functions
|
|
|
Takes two algorithm_choices dictionaries and merges them into a single dictionary. |
|
merges choices and generates rankings. |
|
Runs the algorithm functions in order. |
|
|
|
Exceptions
Error to raise if algorithm is failing |
Details
- algo_merge(choicesA, choicesB)[source][github]¶
Takes two algorithm_choices dictionaries and merges them into a single dictionary. Raises a warning if rankings end up identical.
- algo_merge_full(choicesA, rankingA, choicesB, rankingB)[source][github]¶
merges choices and generates rankings. If the choices are the same, then less work is done