rename_algorithms#
- pepbench.utils.rename_algorithms(algorithms: str_t) str_t[source]#
Map algorithm identifier(s) to short display name(s).
- Parameters:
- algorithmsstr_t
A single algorithm identifier string or an iterable of such strings.
- Returns:
- str_t
The corresponding short display name(s). If the input was a single string, a single string is returned; if the input was an iterable, a list of strings is returned.