code wiki / (root) / nx_chem_fingerprint_test.nx

nx_chem_fingerprint_test.nx

buildroot/runtime/nx_chem_fingerprint_test.nx

11183 B240 linesdepth 8pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic chem
docsdependenciesstructsconstsfunctions

about

nx_chem_fingerprint_test.nx -- C2.6 KAT for ECFP-style Morgan fingerprint + Tanimoto similarity. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_chem_molecule.nx nx_chem_smiles.nx nx_chem_fingerprint.nx nx_chem_fingerprint_test.nx

imports: nx_chem_molecule.nxnx_chem_smiles.nxnx_chem_fingerprint.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main println sys_write strlen sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ a_empty_mol nx_chem_mol_new nx_chem_compute_ecfp_finge nx_chem_fp_initial_invaria nx_chem_fp_set_bit nx_chem_fp_refine_step nx_chem_fp_sort_asc nx_chem_fp_hash_neighborho nx_chem_fp_popcount nx_chem_fp_popcount_u64 b_methane parse nx_chem_parse_smiles nx_chem_mol_new ↻ smi_is_digit nx_chem_mol_atom nx_chem_mol_bond_add nx_chem_mol_bond smi_parse_bracket smi_is_digit ↻ smi_is_upper

structs

none

consts

none

functions

13func parse(src: *u8, n: nx_int) -> *MolGraph
20func a_empty_mol() -> nx_int
32func b_methane() -> nx_int
45func c_identical_fingerprints() -> nx_int
61func d_tanimoto_identity() -> nx_int
75func e_different_fingerprints() -> nx_int
93func f_tanimoto_symmetry() -> nx_int
113func g_tanimoto_partial() -> nx_int
132func h_popcount_scales() -> nx_int
153func i_set_get_bit() -> nx_int
173func j_popcount_all_set() -> nx_int
called by 1: main calls 1: nx_chem_fp_popcount
185func main() -> nx_exit