Skip to content

Default max/min option value is different for cliques() and max_cliques() #896

@szhorvat

Description

@szhorvat

The default max/min option value is different for cliques() and max_cliques():

cliques(graph, min = 0, max = 0)
max_cliques(graph, min = NULL, max = NULL, subset = NULL, file = NULL)

Here both 0 and NULL indicate: "do not set a bound on the clique size". We should settle on using either 0 or NULL consistently throughout all these functions.

Other affected functions: count_max_cliques, clique_size_counts, weighted_cliques, ...?

CC @krlmlr @maelle

Metadata

Metadata

Assignees

Labels

lifecycleDeprecating old APIs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions