Constraint¶ class jaxrens.constraints.base.Constraint(*args, **kwargs)[source]¶ Bases: Protocol A hard predicate on a single walker configuration. Operates on one walker; batched via vmap/pmap by the sampler wrapper. Returns a scalar boolean array — True when the configuration is allowed.