sum_shapes

sum_shapes(graph_shape_list)[source]

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

Parameters:

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

Returns:

GraphShape with summed counts per hyper-edge set class and addresses.

Raises:

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

Return type:

GraphShape