DegeneracyTestPlan

Array-oriented union of mode-pattern degeneracy predicates.

Negative pattern entries are wildcards. The object remains callable for the legacy evaluator, while indexed evaluation can test a complete permutation block with :meth:evaluate and avoid Python predicate/tree traversal for each state.

default_compare_workspace_bytes: int
default_scalar_state_cutoff: int

 

__init__(self, patterns=None, checks=None, fallback_tests=(), compare_workspace_bytes=None): 

 

@property
cache_key(self): 

 

evaluate(self, states): 

 

evaluate_array(self, states): 

Evaluate an explicitly batched state/permutation pool.

Unlike :meth:evaluate, this never falls back to the scalar trie for a small batch. The indexed evaluator uses it after coalescing work-item subsets into one shared permutation pool.

 

__call__(self, state): 

Feedback

Examples

Templates

Documentation