helper module

Define helper function for objectives.

by_element(objectives)[source]

Sort the provided objectives per Element.

Parameters:

objectives (Collection[Objective])

Return type:

dict[Element, list[Objective]]