Skip to content

Split sample_bipartite() into two functions for the G(n,m) and G(n,p) case #630

@szhorvat

Description

@szhorvat

What is the feature or improvement you would like to see?

Separate sample_bipartite() into sample_biparite_gnm() and sample_bipartite_gnp(), and eventually deprecate sample_bipartite().

Motivation

  • Consistency with the separate sample_gnm() and sample_gnp()
  • The $G(n,p)$ and $G(n,m)$ models are conceptually distinct
  • Reduces the number of optional argument
  • Explicit function names that reduce confusion
  • Already have separate igraph_bipartite_game_gnp() and igraph_bipartite_game_gnm() available in C/igraph

References

Metadata

Metadata

Assignees

Labels

lifecycleDeprecating old APIs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions