Commit 54a93039 authored by Tiago Peixoto's avatar Tiago Peixoto

max_cliques(): Remove 'iterator' parameter

parent a7d49aa2
Pipeline #497 failed with stage
in 813 minutes and 57 seconds
......@@ -798,21 +798,18 @@ def mark_subgraph(g, sub, vmap, vmask=None, emask=None):
return vmask, emask
def max_cliques(g, iterator=True):
def max_cliques(g):
"""Return an iterator over the maximal cliques of the graph.
Parameters
----------
g : :class:`~graph_tool.Graph`
Graph to be used.
iterator : ``boolean`` (optional, default: ``True``)
If ``False``, a list is returned instead of an iterator.
Returns
-------
max_cliques : iterator or list over :class:`numpy.ndarray` instances
Iterator (or list) over lists of vertices corresponding to the maximal
cliques.
max_cliques : iterator over :class:`numpy.ndarray` instances
Iterator over lists of vertices corresponding to the maximal cliques.
Notes
-----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment