max_shape

max_shape(graph_shape_list)[source]

Returns the maximum graph shape from a list of graph shapes.

If some objects do not appear in some shapes, then those objects are systematically included in the output.

Parameters:

graph_shape_list (list[GraphShape]) – List of graph shapes to be compared.

Returns:

GraphShape with maxima per hyper-edge set class and addresses.

Raises:

ValueError – If the list is empty or contains non-GraphShape.

Return type:

GraphShape