pub struct NaryEnumerationConfig {
pub max_body_atoms: u8,
pub max_join_vars: u8,
pub max_patterns: u32,
pub max_traversal_nodes: u64,
}Expand description
Enumeration bounds for one n-ary induction request.
Fields§
§max_body_atoms: u8Maximum number of body atoms per pattern (the binary engine uses 2).
max_join_vars: u8Maximum distinct existential join variables per pattern (binary: 1).
max_patterns: u32Hard ceiling on the enumerated pattern count. Exceeding it is a typed refusal, never a silent cap.
This bounds the OUTPUT. It does not bound the work: the search can
walk an exponential number of dead-end nodes without ever producing
a keepable pattern, so max_traversal_nodes bounds that separately.
max_traversal_nodes: u64Hard ceiling on SEARCH NODES visited during enumeration.
Without it an in-contract request (small max_patterns, wide
candidate set) walks billions of nodes and returns an empty result,
because the pattern cap can only fire when a pattern is KEPT.
Exceeding this is the same kind of typed refusal.
Trait Implementations§
Source§impl Clone for NaryEnumerationConfig
impl Clone for NaryEnumerationConfig
Source§fn clone(&self) -> NaryEnumerationConfig
fn clone(&self) -> NaryEnumerationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more