Skip to main content

Module domains

Module domains 

Source
Expand description

Domain-specific engines for QualiaDB

This module organizes domain-specific computation engines by category, providing specialized capabilities for biological, chemical, physical, financial, mathematical, and geospatial domains.

§Decoupling Architecture and Unconditional Callers

Several core governance and platform paths in qualia-core-db interface directly with domain engines:

  • biological: Referenced by governance::webizen::vm (sequence alignment, k-mer frequency, FASTA parsing, Tanimoto fingerprint similarity).
  • chemical: Referenced by governance::webizen::vm (SMILES/InChI validation, descriptors, Lipinski/Veber/Ghose/Egan rules, functional groups, pKa, chiral centers, circular fingerprints, thermodynamics, and kinetics).
  • financial: Referenced by governance::webizen::vm (Monte Carlo VaR) and governance::webizen::mod (TaxRuleSchema).
  • geospatial: Referenced by governance::webizen::vm (CanvasRightsModel) and lib.rs::tests (SpatiotemporalQuadTree, embed_h3_context).
  • mathematical: Referenced by lib.rs::tests (VectorSectorMap, extract_spatial_projection) and platform::npu_ffi (LorentzVector).
  • physical: Referenced by governance::webizen::vm (ThermodynamicSampler).

Under default and monolithic configurations, 100% of these domain modules remain unconditionally exported to ensure zero broken callers. The zero-heap capability function active_domain_mask allows runtimes to inspect active domain boundaries at compile-time and runtime.

Modules§

biological
Biological domain engines
biosphere
Biosphere Domain Engine for QualiaDB.
chemical
Chemical domain engines
financial
Financial domain engines
geospatial
Geospatial domain engines
mathematical
Mathematical domain engines
physical
Physical domain engines

Constants§

ALL_DOMAINS_MASK
Combined bitmask representing all domain capabilities.
DOMAIN_BIOLOGICAL
Biological domain engine (bioinformatics, k-mer analysis, sequence alignment).
DOMAIN_CHEMICAL
Chemical domain engine (organic chemistry, cheminformatics, SMILES/InChI).
DOMAIN_FINANCIAL
Financial domain engine (quantitative economics, tax schema, Monte Carlo VaR).
DOMAIN_GEOSPATIAL
Geospatial domain engine (H3 indexing, quadtree, canvas rights, GIS adapters).
DOMAIN_MATHEMATICAL
Mathematical domain engine (geometric algebra, Lorentz vectors, Voronoi cells).
DOMAIN_PHYSICAL
Physical domain engine (thermodynamics, MCMC sampling, reaction kinetics).

Functions§

active_domain_mask
Returns the 32-bit bitmask of active domain engines compiled into this binary.
domain_name
Returns the canonical kebab-case name of a domain capability bit.
is_domain_active
Checks whether a specific domain capability bit is active in the current build.