ergmx.constraints.B2Degrees#

class ergmx.constraints.B2Degrees[source]#

Preserve the degrees of the second mode’s vertices (bipartite networks).

preserves = frozenset({'b2'})#

For degree-preserving constraints, the degrees they keep.

preserve_kind = 'b2degrees'#

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