ergmx.constraints.Degrees#
- class ergmx.constraints.Degrees[source]#
Preserve every vertex’s degree (in- and out-degrees, if directed).
- dyad_dependent = True#
whether whether a dyad may change depends on other dyads. MPLE and exact MLEs need it False.
- Type:
Whether the constraint makes dyads dependent
- preserves = frozenset({'b1', 'b2', 'in', 'out'})#
For degree-preserving constraints, the degrees they keep.
- preserve_kind = 'degrees'#
The Rust core’s name of the degree-preserving move, if any.