ergmx.constraints.IDegrees#

class ergmx.constraints.IDegrees[source]#

Preserve every vertex’s in-degree (directed networks).

preserves = frozenset({'in'})#

For degree-preserving constraints, the degrees they keep.

preserve_kind = 'idegrees'#

The Rust core’s name of the degree-preserving move, if any.