ergmx.constraints.Edges#

class ergmx.constraints.Edges[source]#

Preserve the number of edges, as ergm’s edges constraint.

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({'edges'})#

For degree-preserving constraints, the degrees they keep.

preserve_kind = 'edges'#

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