Class OptimizerConfig

java.lang.Object
org.impulsegraph.api.config.OptimizerConfig

public final class OptimizerConfig extends Object
Centralized Query Optimizer Configuration and Heuristic Threshold Constants.

Controls algebraic query compilation, vectorization thresholds, multi-hop kernel fusion, and experimental optimization passes.

  • Field Details

    • SIMD_PREDICATE_EVAL_MIN_DEGREE_THRESHOLD

      public static final int SIMD_PREDICATE_EVAL_MIN_DEGREE_THRESHOLD
      Minimum node out/in-degree threshold required to activate 512-bit SIMD Vector API fused predicate evaluation during CSR/CSC traversal. Below this threshold, scalar loop unrolling is used to avoid SIMD vector mask setup overhead.
    • FUSED_2HOP_MAX_MULTIPLICITY_THRESHOLD

      public static final double FUSED_2HOP_MAX_MULTIPLICITY_THRESHOLD
      Maximum intermediate relation multiplicity (InDegree / OutDegree) threshold for 2-Hop Kernel Fusion (OP_CSR_WALK_2HOP). When intermediate path multiplicity is below or equal to this threshold (e.g. 1.0 to 1.5), 2-hop traversal is fused directly in CPU registers without intermediate bitset materialization.
    • ENABLE_EXPERIMENTAL_OPTIMIZATIONS

      public static final boolean ENABLE_EXPERIMENTAL_OPTIMIZATIONS
      Master toggle for all experimental query optimizations.
    • ENABLE_EXPERIMENTAL_2HOP_FUSION

      public static final boolean ENABLE_EXPERIMENTAL_2HOP_FUSION
      Feature toggle for 2-Hop Kernel Fusion (OP_CSR_WALK_2HOP). Requires either impulse.optimizer.experimental.2hop=true or impulse.optimizer.experimental=true.
    • PREFERRED_VECTOR_BIT_WIDTH

      public static final int PREFERRED_VECTOR_BIT_WIDTH
      Default hardware vector bit width (e.g. 512-bit AVX-512, 256-bit AVX2, 128-bit ARM Neon).
      See Also: