pub struct HybridQuery {
pub k: usize,
pub alpha: Option<f64>,
pub rule_signals: RuleSignals,
pub rules_enabled: bool,
pub max_rounds: usize,
pub epoch: Option<EpochIdentity>,
}Expand description
Pure fusion parameters over already-executed legs.
Fields§
§k: usizeRequested fused result count.
alpha: Option<f64>Explicit alpha, or None for the versioned policy.
rule_signals: RuleSignalsQuery-shape inputs to the versioned rule policy.
rules_enabled: boolWhether rule-based alpha shifts are enabled.
max_rounds: usizeMaximum geometric stability-bound rounds.
epoch: Option<EpochIdentity>Epoch that interpreted both legs, copied into the report.
Implementations§
Source§impl HybridQuery
impl HybridQuery
Sourcepub const fn new(k: usize) -> Self
pub const fn new(k: usize) -> Self
Constructs a query using the measured policy defaults: alpha
DEFAULT_ALPHA and query-shape rules disabled (policy version 2).
Sourcepub const fn with_alpha(self, alpha: f64) -> Self
pub const fn with_alpha(self, alpha: f64) -> Self
Selects an explicit alpha. Explicit values bypass rule shifts.
Sourcepub const fn with_rule_signals(self, signals: RuleSignals) -> Self
pub const fn with_rule_signals(self, signals: RuleSignals) -> Self
Supplies deterministic rule inputs.
Sourcepub const fn with_rules(self) -> Self
pub const fn with_rules(self) -> Self
Enables the query-shape alpha rules (fusion::rules). Off by default
since policy version 2: every measured rule cell lost against the
no-rule baseline on SciFact (tasks/evidence/17-fusion.md).
Sourcepub const fn without_rules(self) -> Self
pub const fn without_rules(self) -> Self
Disables every query-shape alpha rule (the default).
Sourcepub const fn with_max_rounds(self, max_rounds: usize) -> Self
pub const fn with_max_rounds(self, max_rounds: usize) -> Self
Selects a geometric-round cap. Zero requests immediate full-list materialization.
Sourcepub const fn with_epoch(self, epoch: EpochIdentity) -> Self
pub const fn with_epoch(self, epoch: EpochIdentity) -> Self
Attaches the shared interpretation epoch to the report.