module documentation
Low-level Python interface for the igraph library. Should not be used directly.
| Class | |
Low-level representation of an edge sequence. |
| Class | |
Low-level representation of a vertex sequence. |
| Function | is |
Returns whether a list of degrees can be a degree sequence of some graph, with or without multiple and loop edges, depending on the allowed edge types in the remaining arguments. |
| Function | _compare |
Undocumented |
| Function | _disjoint |
Undocumented |
| Function | _enter |
_enter_safelocale() -> object -- |
| Function | _exit |
_exit_safelocale(locale: object) -> None -- |
| Function | _intersection |
Undocumented |
| Function | _power |
Undocumented |
| Function | _split |
Undocumented |
| Function | _union |
Undocumented |
Returns whether a list of degrees can be a degree sequence of some graph, with or without multiple and loop edges, depending on the allowed edge types in the remaining arguments.
| Parameters | |
| out | the list of degrees. For directed graphs, this list must contain the out-degrees of the vertices. |
| in | the list of in-degrees for directed graphs. This parameter must be None for undirected graphs. |
| loops | whether loop edges are allowed. |
| multiple | whether multiple edges are allowed. |
| Returns | |
| True if there exists some graph that can realize the given degree sequence with the given edge types, False otherwise. | |
_enter_safelocale() -> object --
Helper function for the safe_locale() context manager. Do not use directly in your own code.
_exit_safelocale(locale: object) -> None --
Helper function for the safe_locale() context manager. Do not use directly in your own code.