Class OptimizerConfig
java.lang.Object
org.impulsegraph.api.config.OptimizerConfig
Centralized Query Optimizer Configuration and Heuristic Threshold Constants.
Controls algebraic query compilation, vectorization thresholds, multi-hop kernel fusion, and experimental optimization passes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanFeature toggle for 2-Hop Kernel Fusion (OP_CSR_WALK_2HOP).static final booleanMaster toggle for all experimental query optimizations.static final doubleMaximum intermediate relation multiplicity (InDegree / OutDegree) threshold for 2-Hop Kernel Fusion (OP_CSR_WALK_2HOP).static final intDefault hardware vector bit width (e.g. 512-bit AVX-512, 256-bit AVX2, 128-bit ARM Neon).static final intMinimum node out/in-degree threshold required to activate 512-bit SIMD Vector API fused predicate evaluation during CSR/CSC traversal. -
Method Summary
-
Field Details
-
SIMD_PREDICATE_EVAL_MIN_DEGREE_THRESHOLD
public static final int SIMD_PREDICATE_EVAL_MIN_DEGREE_THRESHOLDMinimum 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_THRESHOLDMaximum 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_OPTIMIZATIONSMaster toggle for all experimental query optimizations. -
ENABLE_EXPERIMENTAL_2HOP_FUSION
public static final boolean ENABLE_EXPERIMENTAL_2HOP_FUSIONFeature toggle for 2-Hop Kernel Fusion (OP_CSR_WALK_2HOP). Requires eitherimpulse.optimizer.experimental.2hop=trueorimpulse.optimizer.experimental=true. -
PREFERRED_VECTOR_BIT_WIDTH
public static final int PREFERRED_VECTOR_BIT_WIDTHDefault hardware vector bit width (e.g. 512-bit AVX-512, 256-bit AVX2, 128-bit ARM Neon).- See Also:
-