Returns a copy of this ExprGenParams with the maximum depth decremented
Returns a copy of this ExprGenParams with the maximum depth decremented
A mapping of expression generator to frequency
A mapping of expression generator to frequency
The frequency number determines the probability that the corresponding generator will be chosen. i.g. for Map(A -> 1, B -> 2, C -> B), the probabilities for A, B, and C are 1/6, 2/6, and 3/6 respectively. This map must be non-empty and all frequency numbers must be greater than zero.
Returns a copy of this ExprGenParams with the maximum depth incremented
Returns a copy of this ExprGenParams with the maximum depth incremented
The maximum levels of nested sub-expressions that may be generated
The maximum width of any generated expression, including sub-expressions
The namespace to use for generating new References
The namespace to use for generating new References
The set of generated references that don't have a corresponding declaration
The set of generated references that don't have a corresponding declaration
Returns a copy of this ExprGenParams with the reference added to the set of unbound references
Returns a copy of this ExprGenParams with the reference added to the set of unbound references
Runs the expression generator once and returns the generated expression wrapped in a Module and Circuit
A set of parameters for randomly generating Expressions