algpy_src.data_structures.graphs.graph_utils.affects_adjacency_matrix.affects_adjacency_matrix

algpy_src.data_structures.graphs.graph_utils.affects_adjacency_matrix.affects_adjacency_matrix#

affects_adjacency_matrix(func)#

Decorator to specify that the given method affects adjacency matrix, thus its cache is not usable anymore.

Parameters:

func (Callable) – The function to decorate. This decorator is used as an identifier of this function rendering the graph’s adjacency matrix cache unusable.

Returns:

wrapper – The wrapper for the input function.

Return type:

Callable